JSClass.create constructor
JSClass.create(
- JSClassDefinition definition
Creates a JavaScript class suitable for use with JSObjectMake.
definition
(JSClassDefinition*) A JSClassDefinition that defines the class.
Implementation
JSClass.create(JSClassDefinition definition)
: this.pointer = JSObjectRef.jSClassCreate(definition.create());