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

10 lines
350 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 _obj = new Object();
var _name = "name";
var arg2 = function() {};
var arg3 = function() {};
var arg4 = 2;
%DefineAccessorPropertyUnchecked(_obj, _name, arg2, arg3, arg4);