Implement String.prototype.lastIndexOf()
JerryScript-DCO-1.0-Signed-off-by: Laszlo Vidacs lvidacs.u-szeged@partner.samsung.com
This commit is contained in:
committed by
Kristof Kosztyo
parent
7aa1b16184
commit
554305d88c
@@ -34,7 +34,11 @@ extern ecma_completion_value_t ecma_builtin_helper_array_concat_value (ecma_obje
|
||||
uint32_t *length,
|
||||
ecma_value_t);
|
||||
extern uint32_t ecma_builtin_helper_array_index_normalize (ecma_number_t index, uint32_t length);
|
||||
extern uint32_t ecma_builtin_helper_string_index_normalize (ecma_number_t index, uint32_t length);
|
||||
extern uint32_t ecma_builtin_helper_string_index_normalize (ecma_number_t index, uint32_t length, bool nan_to_zero);
|
||||
extern ecma_completion_value_t ecma_builtin_helper_string_prototype_object_index_of (ecma_value_t this_arg,
|
||||
ecma_value_t arg1,
|
||||
ecma_value_t arg2,
|
||||
bool firstIndex);
|
||||
extern ecma_completion_value_t ecma_builtin_helper_def_prop (ecma_object_t *obj_p,
|
||||
ecma_string_t *index_p,
|
||||
ecma_value_t value,
|
||||
|
||||
Reference in New Issue
Block a user