blob: 55bff26527f4305186b618a0281f7f0206f3858f [file] [log] [blame]
This test verifies the behaviour of Object.prototype.hasOwnProperty, as documented in ECMA-262 rev3 section 15.2.4.5.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS typeof {foo : 'yum'}.hasOwnProperty is "function"
PASS ({foo : 'yum'}).hasOwnProperty('foo') is true
PASS ''.hasOwnProperty('length') is true
PASS ({foo : 'yum'}).hasOwnProperty('bar') is false
PASS ({foo : 'yum'}).hasOwnProperty('toString') is false
PASS ''.hasOwnProperty('toString') is false
PASS successfullyParsed is true
TEST COMPLETE