Everything 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...4 min read·kesharvani.hashnode.devFeb 22, 2023
Everything 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...3 min read·kesharvani.hashnode.devFeb 21, 2023
What 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...2 min read·kesharvani.hashnode.dev1SFeb 19, 2023
Why 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...3 min read·kesharvani.hashnode.devFeb 14, 2023