File: foo.js

package info (click to toggle)
node-rollup-plugin-commonjs 25.0.4%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,304 kB
  • sloc: javascript: 6,824; makefile: 6
file content (17 lines) | stat: -rw-r--r-- 270 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
exports.augmentThis = function augmentThis() {
  this.x = 'x';
};

this.y = 'y';

exports.classThis = class classThis {
  constructor(){
    class _classThis {
      y = 'yyy'
      yyy = this.y
    }
    this._instance = new _classThis()
  }
  y = 'yy'
  yy = this.y
}