image2text

Untitled

Aug 15th, 2019
298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. (X N J
  2. // cool things you can do with + operator in JavaScript
  3. +0xff; // quickly convert hex to decimal
  4. +new Date(); //equivalent to new Date().getTime();
  5. // get even cooler
  6. let random = {
  7.  
  8. valueOf: function () {
  9.  
  10. return Math.random() *100
  11.  
  12. }
  13. }
  14. // yes that's valid code
  15. +random // 67.9732.
  16. +random // 23.0445.
  17. // https://anuraghazra.github.io I
Advertisement
Add Comment
Please, Sign In to add comment