BoundFunctions [[Length]] property should be ecma_number_t (#4072)

This patch fixes #4043.

JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
This commit is contained in:
Robert Fancsik
2020-07-28 10:45:01 +02:00
committed by GitHub
parent 9872c441e3
commit d420811a0e
5 changed files with 34 additions and 7 deletions
+1 -1
View File
@@ -1000,7 +1000,7 @@ typedef struct
{
ecma_extended_object_t header; /**< extended object header */
#if ENABLED (JERRY_ESNEXT)
ecma_integer_value_t target_length; /**< length of target function */
ecma_value_t target_length; /**< length of target function */
#endif /* ENABLED (JERRY_ESNEXT) */
} ecma_bound_function_t;