Implementing String's constructor and [[GetOwnProperty]].

This commit is contained in:
Ruben Ayrapetyan
2014-09-24 21:25:16 +04:00
parent 10ee3c4fb1
commit c4ec42635b
8 changed files with 284 additions and 2 deletions
+7
View File
@@ -18,6 +18,7 @@
#include "ecma-globals.h"
#include "ecma-array-object.h"
#include "ecma-function-object.h"
#include "ecma-string-object.h"
#include "ecma-objects-arguments.h"
#include "ecma-objects-general.h"
#include "ecma-objects.h"
@@ -117,6 +118,12 @@ ecma_op_object_get_own_property (ecma_object_t *obj_p, /**< the object */
}
case ECMA_OBJECT_TYPE_STRING:
{
prop_p = ecma_op_string_object_get_own_property (obj_p, property_name_p);
break;
}
case ECMA_OBJECT_TYPE_HOST:
{
JERRY_UNIMPLEMENTED();