Created
March 29, 2015 16:39
Revisions
-
theasta created this gist
Mar 29, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ // Convert from decimal to binary (11).toString(2) // “1011" // Convert from decimal to hexadecimal (255).toString(16) // ‘ff' // Convert from binary to decimal parseInt("1011", 2); // 11 // Convert from binary to hexadecimal parseInt("ff", 16); // 255