Skip to content

Commit 817a7e0

Browse files
committed
Formatting issues fix
1 parent 486c5e8 commit 817a7e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Maths/Signum.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* @returns {-1 | 0 | 1 | NaN} sign of input (and NaN if the input is NaN)
1616
*/
1717
function signum (input) {
18-
if(isNaN(input)) return NaN
18+
if (isNaN(input)) return NaN
1919
else if (input === 0) return 0
2020
else if (input < 0) return -1
2121
else return 1

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy