mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
Implement ES6 Symbol.hasInstance, iterator, toStringTag, toPrimitive and built-ins (#46)
* Implement Array.from * Disable part of ES6-shim due to wrong implementation Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
This commit is contained in:
parent
a363289951
commit
e66f512b32
61 changed files with 1407 additions and 419 deletions
|
|
@ -79,8 +79,10 @@ const char* errorMessage_GlobalObject_InvalidArrayLength = "Invalid array length
|
|||
const char* errorMessage_GlobalObject_DetachedBuffer = "%s: Detached buffer cannot be used here";
|
||||
const char* errorMessage_GlobalObject_ConstructorRequiresNew = "Constructor requires 'new'";
|
||||
const char* errorMessage_GlobalObject_CalledOnIncompatibleReceiver = "%s: called on incompatible receiver";
|
||||
const char* errorMessage_GlobalObject_IllegalFirstArgument = "%s: illegal first argument";
|
||||
const char* errorMessage_String_InvalidStringLength = "Invalid string length";
|
||||
|
||||
|
||||
void ErrorObject::throwBuiltinError(ExecutionState& state, Code code, String* objectName, bool prototoype, String* functionName, const char* templateString)
|
||||
{
|
||||
StringBuilder replacerBuilder;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue