v8/test/mjsunit/runtime-gen/hasownproperty.js
2014-05-22 15:27:57 +00:00

7 lines
253 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 = "name";
%HasOwnProperty(_object, _key);