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

7 lines
254 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 _receiver = new Object();
var _key = "name";
%HasProperty(_receiver, _key);