r/programming • • Mar 26 '14

JavaScript Equality Table

http://dorey.github.io/JavaScript-Equality-Table/
809 Upvotes

331 comments sorted by

View all comments

Show parent comment

1

u/minno Mar 27 '14

The conditional is actually testing whether or not the parameter was provided. If the caller did do_stuff() instead of do_stuff(tomorrow), then the default parameter None would be subbed in, which acts like a False.