public JsArrayNumber toJsArray ( ) { JsArrayNumber array = JavaScriptObject . createArray ( ) . cast ( ) ; array . push ( minValue ) ; array . push ( maxValue ) ; return array ; }
Converts the range to a JavaScript number array .