mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-27 16:59:43 +01:00
The engine built Boolean.prototype but defined no global Boolean, so Boolean(x), new Boolean(x), x instanceof Boolean and filter(Boolean) threw a ReferenceError. Boolean now converts a value when called and makes a Boolean object with new (ECMA-262 5.1 sections 15.6.1 and 15.6.2), with Boolean.prototype as its prototype. test262 no longer skips tests that name Boolean, so more of them run; docs/target-app-parity.md has the new counts.