v8/test/mjsunit/runtime-gen/sethiddenproperty.js

8 lines
290 B
JavaScript

// Copyright 2014 the V8 project authors. All rights reserved.
// AUTO-GENERATED BY tools/generate-runtime-tests.py, DO NOT MODIFY
// Flags: --allow-natives-syntax --harmony
var _object = new Object();
var _key = "foo";
var _value = new Object();
%SetHiddenProperty(_object, _key, _value);