tc39 / test262

Official ECMAScript Conformance Test Suite
Other
2.3k stars 457 forks source link

Add missing test for `Math.pow(1, NaN)` #4149

Closed magic-akari closed 1 month ago

magic-akari commented 1 month ago

In some implementations, the pow function may return 1, which contradicts the specification. This addition ensures that the test case covers this scenario.