diff options
Diffstat (limited to 'vendor/github.com/robertkrimen/otto/type_number.go')
-rw-r--r-- | vendor/github.com/robertkrimen/otto/type_number.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vendor/github.com/robertkrimen/otto/type_number.go b/vendor/github.com/robertkrimen/otto/type_number.go new file mode 100644 index 000000000..28de4444c --- /dev/null +++ b/vendor/github.com/robertkrimen/otto/type_number.go @@ -0,0 +1,5 @@ +package otto + +func (runtime *_runtime) newNumberObject(value Value) *_object { + return runtime.newPrimitiveObject("Number", value.numberValue()) +} |