Show Menu
Cheatography

Daftar Method JS Cheat Sheet (DRAFT) by

Kumpulal Cheat Sheet JS

This is a draft cheat sheet. It is a work in progress and is not finished yet.

METHOD NUMBER

Format, Pembul­ata­n,K­onversi to Srting

Number.isNaN( )

Apakah hasil operasi variablel NaN ? | True = NaN | False = bukan NaN
var foo = 5
consol­e.log( Number.is­NaN­(foo) ); // false

Number.is­NaN() (copy)

Apakah hasil operasi variablel NaN ? | True = NaN | False = bukan NaN