Created
August 1, 2020 14:44
-
-
Save itaditya/125f17124bc4a5415a997449b7a61f54 to your computer and use it in GitHub Desktop.
(Blog) Why named arguments are better than positional arguments
This file contains hidden or 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
| function myCustomParseInt({ item, radix } = {}) { | |
| return parseInt(item, radix); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment