Files
scriptc/tests/corpus/class-function-base/base.js
Chris Tate c257368c5e Compile Effect generators statically (#589)
* Compile Effect generators statically

* test: declare the dormant array write's expected fence
2026-09-30 14:25:29 -05:00

14 lines
334 B
JavaScript

export const key = Symbol.for("test/function-base");
export const Base = (() => {
function Constructor(value) {
console.log("base", value);
this.initial = value;
}
Constructor.prototype = {
label: "original",
[key]: 17,
describe() { return this.label + ":" + this.initial; }
};
return Constructor;
})();