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:
@@ -16,7 +16,7 @@ class A {
|
||||
constructor() {
|
||||
var hasProp = $ => {}
|
||||
Object.preventExtensions(hasProp);
|
||||
assert(Object.isSealed(hasProp) === true);
|
||||
assert(Object.isSealed(hasProp) === false);
|
||||
}
|
||||
super() {
|
||||
$: $
|
||||
|
||||
Reference in New Issue
Block a user