* First implementation sketch and testcase * Use helper instead of inline IIFE's * minNodeVersion 6.0.0 * Hoisted visitor for subtraversal and fixed edgest case * Resolve merge conflicts in helpers * Remove duplicated helper from messing up Git
8 lines
201 B
JavaScript
8 lines
201 B
JavaScript
function _classNameTDZError(name) { throw new Error("Class \"" + name + "\" cannot be referenced in computed property keys."); }
|
|
|
|
class C {}
|
|
|
|
var _ref = (_classNameTDZError("C"), C) + 3;
|
|
|
|
C[_ref] = 3;
|