SKShubham Kesharvaniinkesharvani.hashnode.dev·Feb 22, 2023 · 4 min readEverything about Reference Error using "let" and "const" keyword.I have already written the blog using the var keyword. I will use the same content which is common and will try to explain with a fresh perspective so there is no dependency on that blog. I will add the link to that blog at the end of this blog. As a...00
SKShubham Kesharvaniinkesharvani.hashnode.dev·Feb 21, 2023 · 3 min readEverything about Reference Error using var keyword.As a developer, we encounter multiple types of errors in javascript like- - Reference Error -Type Error -Syntax Error -Internal Error -Range Error -Eval Error Note- There are many types of errors but this blog is limited to Reference errors only. Get...00
SKShubham Kesharvaniinkesharvani.hashnode.dev·Feb 19, 2023 · 2 min readWhat is Nullish coalescing operator (??) in javascript?It is an operator which handles the undefined and null values. It is denoted by ?? Expression1 ?? Expression2 Nullish coalescing operator first checks Expression1. If Expression1 is undefined or null it will return Expression2. const nullishVariabl...01M
SKShubham Kesharvaniinkesharvani.hashnode.dev·Feb 14, 2023 · 3 min readWhy using var is a bad practice in javascript?In javascript, we declare a variable in three ways Var Let Const Developers prefer that language by which they can create predictable results but in javascript, when we use Var then, sometimes the results are not predictable. There are four pote...00