Implement Proxy object [[Construct]] internal method (#3657)
The algorithm is based on ECMA-262 v6, 9.5.14 JerryScript-DCO-1.0-Signed-off-by: Adam Szilagyi aszilagy@inf.u-szeged.hu
This commit is contained in:
@@ -23,10 +23,5 @@ var handler = { defineProperty (target) {
|
||||
|
||||
var proxy = new Proxy(target, handler);
|
||||
|
||||
try {
|
||||
// 22.1.2.3.8.c
|
||||
Array.of.call(proxy, 5)
|
||||
assert(false);
|
||||
} catch (e) {
|
||||
assert(e instanceof TypeError);
|
||||
}
|
||||
// 22.1.2.3.8.c
|
||||
Array.of.call(proxy, 5)
|
||||
|
||||
Reference in New Issue
Block a user