Checkpoint before integration and package validation. Assisted-by: SurmAgent:unknown [read] [edit] [bash]
3 lines
172 B
JavaScript
3 lines
172 B
JavaScript
import { assert } from "./assert.js";
|
|
const f = (function* () {}).constructor("aa").bind()
|
|
assert(Object.prototype.toString.call(f) === "[object GeneratorFunction]", true); |