Noah Lemen 2db0c3ad1d linting: disallow t.identifier("undefined") in plugins (#6096)
* add new custom eslint rule, replace remaining t.identifier("undefined") with buildUndefinedNode(), update tests

* change no-undefined-identifier reporting descriptor
2017-08-24 15:43:01 -04:00

5 lines
80 B
JavaScript

var z = {};
var _z$x = z.x;
_z$x = _z$x === void 0 ? {} : _z$x;
var y = _z$x.y;