toJS property

JSNumber toJS

Converts this num to a JSNumber.

Implementation

JSNumber get toJS => DoubleToJSNumber(toDouble()).toJS;