Commit Graph
6 Commits
Author SHA1 Message Date
Youngil Choi 48d5eee920 Make jerry shell more intuitive
- REPL mode also prints each error messages, not only each return values.
- If read_file fails, execution stops right away.

JerryScript-DCO-1.0-Signed-off-by: Youngil Choi [email protected]
2016-08-26 19:41:08 +09:00
Youngil Choi c6e68ce167 Eval called as a bound function should be indirect eval
JerryScript-DCO-1.0-Signed-off-by: Youngil Choi [email protected]
2016-08-26 17:48:39 +09:00
Youngil Choi 98cec9afb8 [[DefaultValue]] should be called twice when setting object as Array length
In section 15.4.5.1, both step 3.c and 3.d should call [[DefaultValue]].

JerryScript-DCO-1.0-Signed-off-by: Youngil Choi [email protected]
2016-08-26 16:03:36 +09:00
Youngil Choi db176aa01d Numbers are permitted as property name in object literal
JerryScript-DCO-1.0-Signed-off-by: Youngil Choi [email protected]
2016-08-26 14:10:11 +09:00
Youngil Choi f2bae401af Remove unnecessary empty value check code
Related PR: #1276
Since RegExp.protytype.exec doesn't change the ret_value any more when
filling the result array, its empty value check code can be removed.

JerryScript-DCO-1.0-Signed-off-by: Youngil Choi [email protected]
2016-08-24 23:08:00 +09:00
Youngil Choi efdf91a0d6 Regexp.prototype.exec should not generate return array with [[Put]]
Releated issue: #1078

JerryScript-DCO-1.0-Signed-off-by: Youngil Choi [email protected]
2016-08-23 15:56:28 +09:00