!isNaN(value - 0)
But in Nashorn, it returns true if even if value is a string that begins with a number. It seems that arithmetic with strings is working non-standardly in Nashorn.
!isNaN(value - 0)
But in Nashorn, it returns true if even if value is a string that begins with a number. It seems that arithmetic with strings is working non-standardly in Nashorn.