mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-29 10:02:14 +00:00
1. implement tracing stack when got exception
2. binding function name 3. implement sandbox for isolate throw exception 4. implement object expression 5. implement get, set object operation 6. implement logical and, or operation Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
This commit is contained in:
parent
b17523eb33
commit
288b147659
48 changed files with 1158 additions and 272 deletions
14
src/runtime/StringObject.cpp
Normal file
14
src/runtime/StringObject.cpp
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#include "Escargot.h"
|
||||
#include "StringObject.h"
|
||||
#include "Context.h"
|
||||
|
||||
namespace Escargot {
|
||||
|
||||
StringObject::StringObject(ExecutionState& state, String* value)
|
||||
: Object(state)
|
||||
, m_primitiveValue(value)
|
||||
{
|
||||
setPrototype(state, state.context()->globalObject()->stringPrototype());
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue