Add non-standard behaviour support for Proxies (#4562)

JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
This commit is contained in:
Zoltan Herczeg authored and GitHub committed 2021-02-04 15:58:16 +01:00
1 parent e9df2ca814
commit 9ca046b670
12 files changed
+292 -21

No files matched your search

@@ -101,7 +101,8 @@ ecma_builtin_proxy_dispatch_construct (const ecma_value_t *arguments_list_p, /**
/* 2. */
ecma_object_t *proxy_p = ecma_proxy_create (arguments_list_len > 0 ? arguments_list_p[0] : ECMA_VALUE_UNDEFINED,
arguments_list_len > 1 ? arguments_list_p[1] : ECMA_VALUE_UNDEFINED);
arguments_list_len > 1 ? arguments_list_p[1] : ECMA_VALUE_UNDEFINED,
0);
if (JERRY_UNLIKELY (proxy_p == NULL))
{