There are 8 fundamental data types in JavaScript: strings, numbers, Bigint, booleans, null, undefined, symbol, and object.First seven data types excep
When you introduce a new piece of data into a JavaScript program, the browser saves it as an instance of the data type. Every string instance has a pr
What is JavaScript?What is JavaScript? JavaScript is primarily a client-side language. JavaScript started at Netscape, a web browser developed in the
Variables label and store data in memory. There are only a few things you can do with variables:Create a variable with a descriptive name.Store or upd
Control flowThe control flow is the order in which the computer executes statements in a script.Code is run in order from the first line in the file t
how programs make decisions by evaluating conditions and introduce logic into our code!The following concepts:if, else if, and else statementscomparis
In programming, we often use code to perform a specific task multiple times. Instead of rewriting the same code, we can group a block of code together
Scope defines where variables can be accessed or referenced. While some variables can be accessed from anywhere within a program, other variables may
Organizing and storing data is a foundational concept of programming.One way we organize data in real life is by making listsexample: New Year's Resol
A loop is a programming tool that repeats a set of instructions until a specified condition, called a stopping condition is reached. When we need to
When we speak to other humans, we share a vocabulary that gives us quick ways to communicate complicated concepts. When we say “bake”, it calls to min
One tool at our disposal is the for loop. However, we also have access to built-in array methods which make looping easier.The built-in JavaScript arr
Why? 왜 goat 객체는 diet 매소드를 인보킹 했을때 dietType을 접근할수 없을까. - That’s because inside the scope of the .diet() method, we don’t automatically have access to
오늘 갑자기 궁금하게 된 점이 있었는데, class 로 객체 인스턴스를 생성할때는 getter와 setter를 만들기가 쉬웠지만 생산형 함수에는 어떻게 하는지 몰랐다. MDN을 참고해보니 이런 방법이 있었다.To append a getter to an existing
Classes are a tool that developers use to quickly produce similar objects.Now, imagine you own a dog daycare and want to create a catalog of all the d
Modules are reusable pieces of code in a file that can be exported and then imported for use in another file. A modular program is one whose component
A runtime environment is where your program will be executed. JavaScript code may be executed in one of two runtime environments:a browser’s runtime e
currying https://frontsom.tistory.com/m/10#:~:text=%EC%9E%A0%EC%8B%9C%20%EC%99%9C%20%ED%95%A8%EC%88%98%ED%98%95%20JavaScript%EB%A5%BC,%EC%9E%91%EC%84
We invoke a second .then(). It’s supposed to handle the logic for the second promise, but since we didn’t return, this .then() is invoked on a promise
Await halts the execution of our async function. This allows us to conveniently write synchronous-style code to handle dependent promises. But what if
Another way to take advantage of concurrency when we have multiple promises which can be executed simultaneously is to await a Promise.all().We can pa
The key to understanding this keyword is having a clear view of function invocation and how it impacts the context. This article focuses on the invoc
최근에 axios와 브라우저 빌트인 API인 fetch의 차이가 궁금해서 서칭하다 자세히 설명해주는 링크를 찾았다.시간이 날때 이포스트에 정리해서 올리도록 하겠으나 일단 참조 링크부터 남기도록 한다.https://www.meticulous.ai/blog/fet
공부해야 할것.https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Iterators_and_Generators