From 03ade8b46a7428b1c189a47df5dc621e3f2ec94f Mon Sep 17 00:00:00 2001 From: magic-akari Date: Mon, 15 Jul 2024 19:58:33 +0800 Subject: [PATCH] Add missing test for `Math.pow(1, NaN)` (#4149) --- test/built-ins/Math/pow/applying-the-exp-operator_A1.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/built-ins/Math/pow/applying-the-exp-operator_A1.js b/test/built-ins/Math/pow/applying-the-exp-operator_A1.js index 08a4911c1b..347987fa5e 100644 --- a/test/built-ins/Math/pow/applying-the-exp-operator_A1.js +++ b/test/built-ins/Math/pow/applying-the-exp-operator_A1.js @@ -18,7 +18,8 @@ base[5] = 0.000000000000001; base[6] = 1.7976931348623157E308; //largest finite number base[7] = +Infinity; base[8] = NaN; -var basenum = 9; +base[9] = 1; +var basenum = 10; for (var i = 0; i < basenum; i++) { assert.sameValue(