manish maharjanforJoBins Engineeringblog.jobins.jp·Mar 25, 2024Understanding null and undefinedNull and undefined are both are primitive data types in JavaScript. Both provides the similar feelings when observed at theoretical level. Sometime times the consequence are more debugging and clarification for the usage of these two values. Null The...15 likes·26 readsnull vs undefined
Seongjin Parkseongjin.hashnode.dev·Jul 3, 2023Error :: ReferenceError : started is not defined at HTMLButtonElementWhen you use a Class, and forget 'this', then this ReferenceError will come out. ReferenceError: * is not defined at HTMLButtonElement solution : Find the thing that is missing 'this' in front of it 클래스를 생성하면서 리팩토링할 때 곳곳에 this. 를 빠트려 해당 에러가 많이 발생했다. ...63 readsJavaScript
Payal Kherajanipayalkherajani.hashnode.dev·Jun 13, 2023Scope and related errors in JS...Let's start... https://media.giphy.com/media/nDVsr46wHobGU/giphy.gif What is Scope? The scope is the region where a variable can be accessed by its identifier name. Let's look into the examples: Example-1: const name = 'Akshara' //Global Scope ...8 likes·257 readsScope
Lim Woojaejaylog.hashnode.dev·May 18, 2023[JavaScript] Deep Dive into Temporal Dead Zone (TDZ)Introduction Can you predict the output of these snippets of JavaScript code? Would the error occur? const hyundai = new Car(); class Car { constructor(color) { this.color = color; } } // Error or not? myFunc(); function myFunc() { conso...Front-endJavaScript
Pranav Patanipranavpatani.hashnode.dev·Feb 17, 2023Be Better At Debugging By Understanding Your Errors In JavascriptWhile writing code, we encounter errors a lot of times. Generally, our first approach to resolving that error or bug is to copy-paste the entire error and search for it on google. https://media.giphy.com/media/vnkYQLFjCX0Gmjp6wV/giphy.gif That does...84 readsJavaScript
Asif Siddiquesemi-colon.hashnode.dev·Feb 16, 2023Diving deep into JavaScript errors.Introduction I vividly recall my initial encounter with an error message. It was not a negative experience, but rather puzzling due to the abundance of obscure terms and sentences displayed on the screen. However, those mysterious and unusual lines a...129 readserror
Mahima Guptamahimacoding.hashnode.dev·Feb 14, 2023ReferenceError and TypeErrorErrors in JavaScript are objects shown whenever a programming error occurs. These objects contain ample information about the type of error and the statement that caused the error. We will mainly discuss referenceError and typeError. ReferenceError T...3 likes·143 readsJavaScript
Debashis Kardebashis99374.hashnode.dev·Feb 14, 2023Clarity On TypeError And RefrenceErrorTypeError RefrenceError Conclusion TypeError: TypeError occurs when a value is not of an expected type. In simple words, TypeError occurs when an argument or value passed is not the expected type that can be operated to produce any output. Exampl...typeerror
Sanika Suryawanshisanika.hashnode.dev·Feb 13, 2023Javascript errors: ReferenceError v/s TypeErrorJavascript errors A programmer has to write 1000s of lines of code and it is impossible to write 100% error-free code in one go. Even an expert developer also faces some unexpected errors and if we don't know what these errors are we'll have a hard t...33 likes·993 readstypeerror
Shushma Munirajshushma.hashnode.dev·Feb 13, 2023JS Debugging 101: Differentiating TypeError and ReferenceError"Errors come in all shapes and sizes, but at the end of the day, they all mean the same thing - time for some debugging!" A ReferenceError in JavaScript is when you try to use a variable or a function that hasn't been declared or defined yet. Think ...1 like·92 readsJavaScript