Update test/built-ins/DisposableStack/prototype/constructor.js

Co-authored-by: Jordan Harband <ljharb@gmail.com>
This commit is contained in:
Ron Buckton 2025-05-16 00:13:26 -04:00 committed by Jordan Harband
parent fe1c065cbb
commit 4dfd813f0d

View File

@ -18,7 +18,7 @@ includes: [propertyHelper.js]
features: [explicit-resource-management] 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 implemented, it should conform to the spec text
if (actual) { if (actual) {