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,10 +29,3 @@ try {
assert(e instanceof TypeError);
}
try {
// 22.1.3.6.11.b
Array.prototype.fill.call(proxy, 'foo', 0, 5);
assert(false);
} catch (e) {
assert(e instanceof TypeError);
}