* test case for insertBefore for jsx * fix unshiftContainer and insertBefore * use path.scope.push * add test making sure computedKeys var declaration at the right block * add comment * nit [skip ci]
10 lines
208 B
JavaScript
10 lines
208 B
JavaScript
let _ref;
|
|
|
|
function _classNameTDZError(name) { throw new Error("Class \"" + name + "\" cannot be referenced in computed property keys."); }
|
|
|
|
_ref = (_classNameTDZError("C"), C) + 3;
|
|
|
|
class C {}
|
|
|
|
C[_ref] = 3;
|