Commit Graph

3 Commits

Author SHA1 Message Date
611729214a Snippet format update
To match the starter (for the migration)
2019-08-13 10:29:12 +03:00
7506499f8c Simplify the comparison for a weekend
Since a weekend is either `0` or `6` from `Date#getDay()`, using `X % 6 === 0` will return the right Boolean value and lead to less function calls or comparisons
2019-07-19 15:43:50 -07:00
ebd03958a5 Add isWeekend code snippets 2019-07-19 22:21:10 +08:00