mirror of
https://github.com/tc39/test262.git
synced 2025-07-29 17:04:31 +02:00
Update test/built-ins/DisposableStack/prototype/constructor.js
Co-authored-by: Jordan Harband <ljharb@gmail.com>
This commit is contained in:
parent
fe1c065cbb
commit
4dfd813f0d
@ -18,7 +18,7 @@ includes: [propertyHelper.js]
|
||||
features: [explicit-resource-management]
|
||||
---*/
|
||||
|
||||
var actual = DisposableStack.prototype.hasOwnProperty('constructor');
|
||||
var actual = Object.prototype.hasOwnProperty.call(DisposableStack, 'constructor');
|
||||
|
||||
// If implemented, it should conform to the spec text
|
||||
if (actual) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user