class RubyRunJs::OPCODES::LOAD

Public Class Methods

new(identifier) click to toggle source
# File lib/ruby_run_js/opcodes.rb, line 430
def initialize(identifier)
  @identifier = identifier
end

Public Instance Methods

eval(ctx) click to toggle source

11.1.2

# File lib/ruby_run_js/opcodes.rb, line 435
def eval(ctx)
  ctx.stack.append(ctx.get_binding_value(@identifier, true))
  nil
end