Class: String

Inherits:
Object show all
Defined in:
opal/stdlib/json.rb,
opal/stdlib/native.rb
more...

Instance Method Summary collapse

Instance Method Details

#to_nObject

Returns the internal JavaScript value (with valueOf).

Returns:

  • the internal JavaScript value (with valueOf).

[View source]

456
457
458
# File 'opal/stdlib/native.rb', line 456

def to_n
  `self.valueOf()`
end