profile
phoenix

[Javascript] Async / Await

https://www.youtube.com/watch?v=V_Kr9OSfDeUPromise보다 더 쉽게 쓸 수 있는 ES8 문법aysnc라는 키워드를 함수 선언 앞에다 써주면 new Promise()오브젝트가 저절로 생성 된다.then()의 지옥에서 벗어나기

2021년 12월 4일
·
0개의 댓글
·

Pure Functions in Javascript

Pure Function is a function (a block of code ) that always returns the same result if the same arguments are passed. It does not depend on any state,

2021년 12월 1일
·
0개의 댓글
·

[Javascript] Promise 프로미스

Promise > Promise는 성공/실패 판정하는 기계~! > 일반 콜백함수에서는 A 실행후 B를 실행해 주세요~ 이런 방식이였다면 > Promise에서는 A 실행후 성공이면 B를 실행해주세요 실패면 C를 실행해주세요 이렇게 작동한다. > Promise의 3가

2021년 11월 28일
·
0개의 댓글
·
post-thumbnail

[Javascript]Prototype

자바스크립트

2021년 10월 11일
·
0개의 댓글
·
post-thumbnail

[Javascript]Class

Class

2021년 10월 11일
·
0개의 댓글
·
post-thumbnail

[Javascript]Rest Parameter

Rest Parameter는 MDN에도 나와있는데ES6문법으로 작성하고 있다면 arguments대신 rest parameter로 작성하라고 써있다Note: If you're writing ES6 compatible code, then rest parameters sho

2021년 9월 26일
·
0개의 댓글
·
post-thumbnail

[Javascript]Arguments 객체

자바스크립트 함수에는 arguments라는 객체가 존재한다arguments is an Array-like object accessible inside functions that contains the values of the arguments passed to that

2021년 9월 26일
·
0개의 댓글
·

[Javascript]함수 파라미터의 기본값 function parameter

자바스크립트 함수는 파라미터라는 것이 있다근데 저 name이라는 파라미터에 기본값 default value또한 넣어 줄 수 있다.

2021년 9월 26일
·
0개의 댓글
·

[Javascript]호이스팅 Hoisting

먼저 호이스팅에대해 정리를 하자면 호이스팅은 var라는 변수선언 해주는 변수선언문의 scope를 최상단으로 올려주는 행위 이다.HoistingJavaScript Hoisting refers to the process whereby the interpreter alloc

2021년 9월 25일
·
0개의 댓글
·
post-thumbnail

[Javascript] High Order Method & Array

너무나도 자주 쓰이고 자주 들어봤떤 High Order Method & Array에 대해 알아보자!forEachfiltermapsortreduce먼저 우리는 companies라는 배열을 가지고 시작한다High Order Method를 쓰기 전에 먼저 기본적인 for L

2021년 9월 25일
·
0개의 댓글
·

Javascript A to G (not A to Z)

console.log('Hello Codeit!') //변수 선언 let espressoPrice = 3000; let espressoPrice = 4300; let espressoPrice = 4800; espressoPrice = 3000; // let espr

2021년 8월 16일
·
0개의 댓글
·