1. == equality operator is deprecated. Use ===
2. Use const and let to define variable (or with var in older JavaScript code)
3. Expression a??b is equivalent to: (a!==null&&a!==undefined)?a:b
No comments:
Post a Comment