Why does Chrome/Brave console.log always append a line saying 'undefined'?You must have seen this kind of behavior when you enter console.log() in a browser console window console.log("Hola!") Hola! undefined We got two values here: Hola! undefined Even though we expected the first value, the second value came as a s...1BFeb 14, 2023 · 1 min readnikhilchhabra.hashnode.dev
== vs ===Both "==" and "===" are used for equality comparison in Javascript. To understand the difference between them we first need to know what is Type coercion. Type coercion: Type coercion in JS refers to the process of converting a value from one data ty...1BFeb 14, 2023 · 2 min readnikhilchhabra.hashnode.dev
Difference between TypeError and ReferenceErrorIn Javascript, both TypeError and ReferenceError are types of errors that occur at runtime. TypeError: As the name suggests TypeError occurs when a value is not of an expected TYPE. For example, if we try to call a non-function value as a function. c...Feb 13, 2023 · 2 min readnikhilchhabra.hashnode.dev
React: The beginningReact is a JavaScript library for building user interfaces and not a Framework, this means React in itself will never be a complete web application builder because it will need several other resources by its side to give a complete web application ex...2DDec 8, 2022 · 1 min readnikhilchhabra.hashnode.dev