-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correct bad advice on undefined conversion (#518)
As noted in #437, simple advice to treat absence as equivalent to being passed `undefined` is a mistake. This advice only really applies to Boolean arguments. We discussed and concluded that string and number arguments have no sensible default that we could recommend. Booleans do. Closes #437.
- Loading branch information
1 parent
d0137b5
commit b2c1996
Showing
1 changed file
with
10 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters