diff --git a/test/built-ins/DisposableStack/prototype/constructor.js b/test/built-ins/DisposableStack/prototype/constructor.js index e093b36bc6..60c4a36a03 100644 --- a/test/built-ins/DisposableStack/prototype/constructor.js +++ b/test/built-ins/DisposableStack/prototype/constructor.js @@ -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) {