From 4dfd813f0d93744e0f32a18335905c7e4201058d Mon Sep 17 00:00:00 2001 From: Ron Buckton <3902892+rbuckton@users.noreply.github.com> Date: Fri, 16 May 2025 00:13:26 -0400 Subject: [PATCH] Update test/built-ins/DisposableStack/prototype/constructor.js Co-authored-by: Jordan Harband --- test/built-ins/DisposableStack/prototype/constructor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {