mirror of
https://github.com/robertkrimen/otto
synced 2025-10-12 20:27:30 +08:00
6 lines
147 B
Go
6 lines
147 B
Go
package otto
|
|
|
|
func (runtime *_runtime) newNumberObject(value Value) *_object {
|
|
return runtime.newPrimitiveObject("Number", value.numberValue())
|
|
}
|