Fix attributes of length property for function objects (#3570)
fix length property of function objects to be configurable (ECMA-262 v6, 19.2.4.1) JerryScript-DCO-1.0-Signed-off-by: HyukWoo Park hyukwoo.park@samsung.com
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
|
||||
var hasProp = $ => { }
|
||||
Object.preventExtensions(hasProp);
|
||||
assert (Object.isSealed(hasProp));
|
||||
assert (Object.isSealed(hasProp) === false);
|
||||
|
||||
var keys = Object.getOwnPropertyNames(hasProp);
|
||||
assert (keys.length === 1);
|
||||
|
||||
Reference in New Issue
Block a user