|
|
|
|
|
by ricardobayes
1374 days ago
|
|
Look into nullish coalescing and optional chaining.
Sure, vanilla JS or react doesn't help with using a var as a function, but I can probably count on my left hand how many times I tried to do that. That doesn't warrant a completely new language.
ps.: typeof is also a thing in vanilla JS |
|
Every time people tell me "I just don't make type errors" I look through their issue tracker and find them everywhere.