* add new custom eslint rule, replace remaining t.identifier("undefined") with buildUndefinedNode(), update tests
* change no-undefined-identifier reporting descriptor
35 lines
489 B
JavaScript
35 lines
489 B
JavaScript
function a() {
|
|
var foo = function () {
|
|
return bar.apply(void 0, arguments);
|
|
};
|
|
|
|
foo.apply(void 0, arguments);
|
|
}
|
|
|
|
function b() {
|
|
var foo = function () {
|
|
return bar.apply(void 0, arguments);
|
|
};
|
|
|
|
foo.apply(void 0, arguments);
|
|
}
|
|
|
|
function c() {
|
|
var foo = function () {
|
|
return bar.apply(void 0, arguments);
|
|
};
|
|
|
|
foo([]);
|
|
}
|
|
|
|
function d(thing) {
|
|
var foo = function () {
|
|
return bar.apply(void 0, arguments);
|
|
};
|
|
|
|
{
|
|
var args = thing;
|
|
foo(thing);
|
|
}
|
|
}
|