We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b85633 commit 28f541dCopy full SHA for 28f541d
lib/node_modules/@stdlib/string/format/lib/main.js
@@ -21,7 +21,6 @@
21
// MODULES //
22
23
var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
24
-var isnan = require( '@stdlib/math/base/assert/is-nan' );
25
var formatInteger = require( './format_integer.js' );
26
var formatDouble = require( './format_double.js' );
27
var tokenize = require( './tokenize.js' );
@@ -32,6 +31,7 @@ var zeroPad = require( './zero_pad.js' );
32
31
// VARIABLES //
33
34
var fromCharCode = String.fromCharCode;
+var isnan = isNaN; // NOTE: We use the global `isNaN` function here instead of `@stdlib/math/base/assert/is-nan` to avoid circular dependencies.
35
36
37
// MAIN //
0 commit comments