rudraprasadmohapatra.hashnode.devwhat is global namespace in javascriptIn JavaScript, the global namespace refers to the global scope or the highest level of scope in a program. It is the space in which variables, functions, and objects are defined outside of any function, class, or block. Any variable or function defin...Apr 7, 2023·1 min read
rudraprasadmohapatra.hashnode.devRelation of temporal dead zone with var keyword .The Temporal Dead Zone (TDZ) only applies to variables declared with let and const keywords in JavaScript, and not to variables declared with var. In JavaScript, variables declared with var are hoisted to the top of their respective scopes and are in...Apr 7, 2023·1 min read
rudraprasadmohapatra.hashnode.devTemporal deadzone in JavascriptTemporal Dead Zone (TDZ) is a term used in JavaScript to describe the behaviour of variables declared using the let and const keywords. In JavaScript, variables declared using these keywords are hoisted to the top of their respective scopes, but unli...Apr 7, 2023·1 min read
rudraprasadmohapatra.hashnode.devWhat if I do not mention the return statement in the async function?If you don't include a return statement in an async function, the function will still run without any errors. However, it will return an implicit value of undefined. In other words, if you try to await the async function, you will get a resolved Prom...Apr 5, 2023·1 min read
rudraprasadmohapatra.hashnode.devWhat are media queries in CSS and their use case?Difference between min-width and max-width in media queries?Explain float and clear property in CSS!What are media queries in CSS and their use case? Ans:-Media queries allow you to apply CSS styles depending on the width of the devices and display CSS styles depending on various types like screen and print. Use Cases Responsive Design Customize...Jan 29, 2023·2 min read