MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/btxz72/what_are_some_javascript_things_beginners_dont/ep5wq4f/?context=3
r/javascript • u/[deleted] • May 28 '19
383 comments sorted by
View all comments
Show parent comments
5
that's pretty much everywhere
0 u/[deleted] May 28 '19 [deleted] 0 u/[deleted] May 28 '19 [deleted] 1 u/the_argus May 28 '19 getDay() is zero based for same reason getMonth() is. So you can have an array of labels and use the result to get the correct index.
0
[deleted]
0 u/[deleted] May 28 '19 [deleted] 1 u/the_argus May 28 '19 getDay() is zero based for same reason getMonth() is. So you can have an array of labels and use the result to get the correct index.
1 u/the_argus May 28 '19 getDay() is zero based for same reason getMonth() is. So you can have an array of labels and use the result to get the correct index.
1
getDay() is zero based for same reason getMonth() is. So you can have an array of labels and use the result to get the correct index.
5
u/amdc !CURSED! May 28 '19
that's pretty much everywhere