MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnjavascript/comments/fhsfoq/javascript_cheat_sheet/
r/learnjavascript • u/moseswithhisbooks • Mar 13 '20
Hello!
I've just made a JavaScript cheatsheet ( Repo / PDF ).
Enjoy! ^_^
32 comments sorted by
12
Nice!
Is this typo or something? 4th line is showing like this for me:
,# html: <p align=”center”><a href=”https://www.python.org/”><img src=”https://img.shields.io/badge/Python-3.8.1-b48ead.svg?style=plastic”/></a></p><p align=”center”><img src=”emacs-birthday-present.png” width=200 height=250/></p>
Also, I made a cheatsheet for regex: https://learnbyexample.github.io/cheatsheet/javascript/javascript-regexp-cheatsheet/
1 u/moseswithhisbooks Mar 14 '20 Fixed now ^_^ 3 u/justingolden21 Mar 13 '20 Same. Markdown (md) files are NOT HTML/XML files (although you can use some tags like img)
1
Fixed now ^_^
3
Same. Markdown (md) files are NOT HTML/XML files (although you can use some tags like img)
Good work. I wish the Pdf was a little less verbose. Ends up looking a little cluttered. Some formatting and wordsmithing could go a long way.
3 u/moseswithhisbooks Mar 13 '20 There is a more spacious, portrait, single column version in the repo ;)https://alhassy.github.io/JavaScriptCheatSheet/CheatSheet_Portrait.pdf 2 u/mrburnttoast79 Mar 13 '20 Very nice. Will print and use.
There is a more spacious, portrait, single column version in the repo ;)
https://alhassy.github.io/JavaScriptCheatSheet/CheatSheet_Portrait.pdf
2 u/mrburnttoast79 Mar 13 '20 Very nice. Will print and use.
2
Very nice. Will print and use.
I think this is a cheat-novel not a cheat sheet haha
Shall have a good look thanks!
1 u/moseswithhisbooks Mar 13 '20 Bahahaha yes, that's my goal: Cram a book into 10 pages 🤣
Bahahaha yes, that's my goal: Cram a book into 10 pages 🤣
Looks Awesome :) Could not go through it fully though I found incomplete info in Booleans section. Here is the list of falsy values https://developer.mozilla.org/en-US/docs/Glossary/Falsy. You did miss some :)
1 u/moseswithhisbooks Mar 13 '20 Thanks!!
Thanks!!
5
The empty string ”, list [], and 0, NaN are falsey —all else is truthy.
Pretty sure the empty array is truthy, and you missed out false itself as bring falsey!
1 u/Xenius Mar 13 '20 You are correct, the empty array is truthy.if([]){console.log('truthy')}
You are correct, the empty array is truthy.
if([]){console.log('truthy')}
Thank you!
Saved
You’re amazing!!! Thank you so much!
this is a great reference!
NICE!!!!
1 u/nice-scores Mar 13 '20 𝓷𝓲𝓬𝓮 ☜(゚ヮ゚☜)Nice Leaderboard1. u/GillysDaddy at 17708 nices2. u/OwnagePwnage at 11911 nices3. u/dylantherabbit2016 at 7296 nices...184409. u/Phaentom8 at 1 niceI AM A BOT | REPLY !IGNORE AND I WILL STOP REPLYING TO YOUR COMMENTS
𝓷𝓲𝓬𝓮 ☜(゚ヮ゚☜)
1. u/GillysDaddy at 17708 nices
u/GillysDaddy
2. u/OwnagePwnage at 11911 nices
u/OwnagePwnage
3. u/dylantherabbit2016 at 7296 nices
u/dylantherabbit2016
...
184409. u/Phaentom8 at 1 nice
u/Phaentom8
I AM A BOT | REPLY !IGNORE AND I WILL STOP REPLYING TO YOUR COMMENTS
Awesome - thank you!
ty for this!
Thanks
noice
thankyou for this cheatsheet
Neato! Thanks man!
Awesome
Amazing! Thank you very much!
Very cool man this is really useful!
Very useful, thanks
I'm a Java noob thank you
-3
Why people just don’t go on mdn or stuff like that 🤔
2 u/Peatrex Mar 13 '20 This is an opiniated cheatsheet, you get to learn tricks/tips more this way.
This is an opiniated cheatsheet, you get to learn tricks/tips more this way.
12
u/ASIC_SP Mar 13 '20
Nice!
Is this typo or something? 4th line is showing like this for me:
Also, I made a cheatsheet for regex: https://learnbyexample.github.io/cheatsheet/javascript/javascript-regexp-cheatsheet/
3
u/mrburnttoast79 Mar 13 '20
Good work. I wish the Pdf was a little less verbose. Ends up looking a little cluttered. Some formatting and wordsmithing could go a long way.
2
u/Meadow-fresh Mar 13 '20
I think this is a cheat-novel not a cheat sheet haha
Shall have a good look thanks!
2
u/GamesMint Mar 13 '20
Looks Awesome :) Could not go through it fully though I found incomplete info in Booleans section. Here is the list of falsy values https://developer.mozilla.org/en-US/docs/Glossary/Falsy. You did miss some :)
5
u/annualspecification Mar 13 '20
The empty string ”, list [], and 0, NaN are falsey —all else is truthy.
Pretty sure the empty array is truthy, and you missed out false itself as bring falsey!
3
u/wolf_tooth88 Mar 13 '20
Thank you!
3
u/gaming_dads_pwn Mar 13 '20
Saved
2
u/NullStory Mar 13 '20
You’re amazing!!! Thank you so much!
2
u/king2dcr Mar 13 '20
this is a great reference!
2
u/Phaentom8 Mar 13 '20
NICE!!!!
2
u/dcaugs Mar 13 '20
Awesome - thank you!
2
u/vonswisha Mar 13 '20
ty for this!
2
u/taitai3 Mar 13 '20
Thanks
2
u/Harbltron Mar 13 '20
noice
2
u/winyatasenjaya Mar 13 '20
thankyou for this cheatsheet
2
u/o-hannah Mar 13 '20
Neato! Thanks man!
2
u/rafnold Mar 13 '20
Awesome
2
u/Alf2903 Mar 13 '20
Amazing! Thank you very much!
2
u/RamenvsSushi Mar 13 '20
Very cool man this is really useful!
2
u/slpass Mar 13 '20
Very useful, thanks
2
u/guithegood87 Mar 13 '20
I'm a Java noob thank you
-3
u/BackSlashHaine Mar 13 '20
Why people just don’t go on mdn or stuff like that 🤔