JavaScript: Difference between revisions

From Han Wiki
Jump to navigation Jump to search
iwu
(No difference)

Revision as of 20:42, 2 April 2016

Math.max(2,4); // 4
Math.min(2,4) + 100; // 102
confirm("Shall we, then?"); // OK, Cancel
prompt("Tell me everything you know.","..."); // default "..." OK, Cancel
print("X");