class ExecJS::RubyRhinoRuntime::Context

def call(properties, *args)

def call(properties, *args)
  # Might no longer be necessary if therubyrhino handles Symbols directly:
  # https://github.com/rubyjs/therubyrhino/issues/43
  converted_args = JSON.parse(JSON.generate(args), create_additions: false)
  unbox @rhino_context.eval(properties).call(*converted_args)
rescue Exception => e
  raise wrap_error(e)
end