class RKelly::JS::ObjectPrototype

This is the object protytpe ECMA-262 15.2.4

Public Class Methods

new() click to toggle source
Calls superclass method RKelly::JS::Base::new
# File lib/rkelly/js/object_prototype.rb, line 6
def initialize
  super
  self['toString'].function = unbound_method(:toString) do
    "[object #{self['Class'].value}]"
  end
end