Class: NilClass
Instance Method Summary collapse
- #to_json ⇒ Object
-
#to_n ⇒ Object
The corresponding JavaScript value (
null).
Instance Method Details
#to_json ⇒ Object
177 178 179
# File 'opal/stdlib/json.rb', line 177 def to_json 'null' end
#to_n ⇒ Object
Returns the corresponding JavaScript value (null).
Returns:
-
the corresponding JavaScript value (
null).
527 528 529
# File 'opal/stdlib/native.rb', line 527 def to_n `null` end