Class: Numeric
Direct Known Subclasses
Instance Method Summary collapse
- #to_json ⇒ Object
-
#to_n ⇒ Object
The internal JavaScript value (with
valueOf).
Instance Method Details
#to_json ⇒ Object
171 172 173
# File 'opal/stdlib/json.rb', line 171 def to_json `self.toString()` end
#to_n ⇒ Object
Returns the internal JavaScript value (with valueOf).
Returns:
-
the internal JavaScript value (with
valueOf).
439 440 441
# File 'opal/stdlib/native.rb', line 439 def to_n `self.valueOf()` end