MDN’s new design is in Beta! A sneak peek: https://blog.mozilla.org/opendesign/mdns-new-design-beta/

JS::DoubleNaNValue

This article covers features introduced in SpiderMonkey 24

Create a not-a-number (NaN) floating-point number as a value of type JS::Value.

Syntax

JS::Value
JS::DoubleNaNValue()

Description

JS::DoubleNaNValue returns a value of type JS::Value that represents an IEEE floating-point quiet Not-a-Number (NaN).

The result is an floating-point JS::Value.

See Also

Document Tags and Contributors

 Contributors to this page: rolfedh, arai
 Last updated by: rolfedh,