STshubham tiwariintechstick.hashnode.dev·Mar 18, 2023 · 8 min readPromises and code flow.Promises are a built-in feature in JavaScript that helps to manage asynchronous operations. They are objects that represent the eventual completion or failure of an asynchronous operation and its resulting value. Promises provide a more organized way...00
STshubham tiwariintechstick.hashnode.dev·Feb 14, 2023 · 1 min readReference Error Vs Type ErrorReference error In a case where a variable reference can't be found or hasn't been declared, then a Reference error occurs. ( buying a gift on a valentine but later you realize you don't have a girlfriend. It's a reference error.) console.log( girlf...00
STshubham tiwariintechstick.hashnode.dev·Feb 14, 2023 · 2 min readDifference between '==' and '===' in JavaScript.what is '==' ? Double equals (==) is a comparison operator, which transforms the operands having the same type before comparison. In the example given below, '1' is a string but as we used == it converts the string to a number and returns true. 1 == ...01A
STshubham tiwariintechstick.hashnode.dev·Feb 13, 2023 · 4 min readUndefined mystery of console.what is undefined in JavaScript? undefined is one of the 7 primitive data types in JS.undefined does not mean empty. It means a variable is declared but still, there is no value assigned to it. In non-technical terms, you place a handkerchief on a se...01A