archives

« Bugzilla Issues Index

#4467 — 9.4.4.6 CreateUnmappedArgumentsObject: Consider changing property creation order for "caller" and "callee"


9.4.4.6 CreateUnmappedArgumentsObject(argumentsList)

Consider switching steps 8 and 9 for web reality.

Edge, JSC, V8 and SpiderMonkey return "length, callee, caller" for `Object.getOwnPropertyNames(function(){ "use strict"; return arguments}())`, but the spec currently requires the property order "length, caller, callee".


Fixed in ES2016 Draft (c7868ce).