Implement Proxy object [[Get]] internal method (#3604)

The algorithm is based on ECMA-262 v6, 9.5.8

JerryScript-DCO-1.0-Signed-off-by: Adam Szilagyi aszilagy@inf.u-szeged.hu
This commit is contained in:
Szilagyi Adam
2020-03-11 15:34:46 +01:00
committed by GitHub
parent 38862c39a6
commit 64fd37d1db
5 changed files with 188 additions and 26 deletions
-7
View File
@@ -29,13 +29,6 @@ try {
assert(e instanceof TypeError);
}
try {
proxy.a;
assert(false);
} catch (e) {
assert(e instanceof TypeError);
}
try {
new Proxy(undefined, undefined);
assert(false);