func (engine_ *Engine) NewArray(length int) *Value { value_ := NewValue(engine_, C.V8_NewArray( engine_.self, C.int(length), )) /*array_ := &Array{ //length : length, } array_.Value = value_*/ return value_ }
func (e *Engine) NewArray(length int) *Value { return newValue(e, C.V8_NewArray( e.self, C.int(length), )) }
func (cs ContextScope) NewArray(length int) *Array { return newValue(C.V8_NewArray( cs.context.self, C.int(length), )).ToArray() }