File: create-test-example.js

package info (click to toggle)
node-espree 9.4.1~dfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 14,068 kB
  • sloc: javascript: 211,653; makefile: 33; sh: 1; xml: 1
file content (24 lines) | stat: -rw-r--r-- 446 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*!espree-section: super-function-call*/
function foo() {
    super();
}
/*!espree-section: super-property-call*/
function foo() {
    super.foo();
}
/*!espree-section: super-function-call-in-object-literal*/
var o = {

    foo: function() {
        super();
    }
};
/*!espree-section: super-property-call-in-object-literal*/
var o = {

    foo: function() {
        super.foo();
    }
};
/*!espree-section: invalid-super-global-call*/
super();