- static JSNameScope* create(ExecState* exec, const Identifier& identifier, JSValue value, unsigned attributes)
- {
- VM& vm = exec->vm();
- JSNameScope* scopeObject = new (NotNull, allocateCell<JSNameScope>(vm.heap)) JSNameScope(vm, exec->lexicalGlobalObject(), exec->scope());
- scopeObject->finishCreation(vm, identifier, value, attributes);
- return scopeObject;
- }