From 1442b5ea9c2bd3377bcd6de08ae49ffe75143134 Mon Sep 17 00:00:00 2001 From: Dmitry Volyntsev Date: Wed, 4 Dec 2024 17:52:32 -0800 Subject: [PATCH] Test262: fixed check for crypto object. --- test/harness/compatWebcrypto.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/harness/compatWebcrypto.js b/test/harness/compatWebcrypto.js index aca3ada5..adc0fb41 100644 --- a/test/harness/compatWebcrypto.js +++ b/test/harness/compatWebcrypto.js @@ -3,6 +3,6 @@ if (typeof crypto == 'undefined' && typeof require == 'function') { } function has_webcrypto() { - return (typeof crypto != 'undefied') ? crypto : null; + return (typeof crypto != 'undefined') ? crypto : null; } -- 2.47.3