3 ms·
>Dynamically typed languages (at least, JavaScript and Python) have been gradually learning this lesson. Modern JS avoids this issue entirely with destructurin
by ramesh31 5y ago
>Dynamically typed languages (at least, JavaScript and Python) have been gradually learning this lesson.
Modern JS avoids this issue entirely with destructuring, optional chaining, and default params. You can actually write completely safe Javascript now without using any awkward safety checks.