|
@@ -40,6 +40,7 @@ import js.Boot;
|
|
return (cast x) | 0;
|
|
return (cast x) | 0;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @:pure
|
|
public static function parseInt( x : String ) : Null<Int> {
|
|
public static function parseInt( x : String ) : Null<Int> {
|
|
var v = untyped __js__("parseInt")(x, 10);
|
|
var v = untyped __js__("parseInt")(x, 10);
|
|
// parse again if hexadecimal
|
|
// parse again if hexadecimal
|