mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-29 10:02:14 +00:00
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>
14 lines
291 B
C++
14 lines
291 B
C++
#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());
|
|
}
|
|
|
|
}
|