mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-05 13:32:45 -05:00
Object.defineProperties, Object.create, seal and freeze read an ordinary object's own names in ECMAScript order (array indices ascending first) in an ES2015 run, through proxies without an ownKeys trap too; without the option they keep the order for-in visits. concat reads Symbol.isConcatSpreadable and with scopes read Symbol.unscopables only in an ES2015 run, so a Symbol set by an earlier run does not change code run without the option. Tests: the host-function proxy refusal checks the throw and that neither the host function nor the trap ran; the bound-constructor test sets the custom prototype before constructing.