▲ | joquarky 2 days ago | |
Contemporary JavaScript has optional chaining, default values, and reflective tools like Object.hasOwn, which are all web standards. You just have to know how to use them. | ||
▲ | troupo a day ago | parent [-] | |
You really don't understand what types give you, do you? Where are you going to put the code above in this:
</section>Are you going to write ifs for every permutation of possible typos? (Let's ignore for a second that it's not just typos) |