mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-16 05:00:59 +08:00
* Compile Effect generators statically * test: declare the dormant array write's expected fence
14 lines
334 B
JavaScript
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;
|
|
})();
|