본문 바로가기
IT/VueJS

ECMAScript 관련해서....

by 골든크랩 2022. 8. 22.
728x90
반응형

ECMAScript 사이트

https://www.ecma-international.org/

 

Home - Ecma International

Ecma International is an industry association dedicated to the standardization of information and communication systems Ecma is driven by industry members to meet their needs, providing a healthy competitive landscape based on differentiation of products a

www.ecma-international.org

 

 

ES6 테스트 사이트

https://jsbin.com/

 

JS Bin

Sample of the bin:

jsbin.com

javascript와 console 선택해놓고 사용해라.

 

Hoisting이란 선언한 함수와 변수를 해석기가 있단 상단에 있는 것처럼 인식한다....함수나 변수를 제일 먼저 끌어 올리고, 시작하는 현상.

 

화살표 함수(lambda 표현식)

return 문 대신, 괄호() 를 사용할 수 있음...

 

===============================================

//function statement (함수 선언문)

function willBeOveridden() {

return 10;

}

willBeOveridden(); //5 f

unction willBeOveridden() {

return 5;

}

===============================================

 

let name='홍길동';

let addrKey='addr'

let person = {   

//key:value   

//name:'홍길동'   

//name:name   

name,   

//addr:'서울'   

[addrKey]:'서울'

}

console.log(person);

 

const host = 'aa.com';

const port = 8090;

const database = 'mydb';

 

const db = 'http://' + host + ':' + port + '/' + database;

console.log(db);

const url = `http://${host}:${port+1}/${database}`;

console.log(url);

const url = ``;

===============================================

 

 

 

 

 

 

 

 

728x90
반응형

'IT > VueJS' 카테고리의 다른 글

데이터 바인딩, Interpolation  (0) 2022.08.23
VueJS 프로그램 구조  (0) 2022.08.23
VueJS 총론  (0) 2022.08.23
Vue 프로젝트 생성하기  (0) 2022.08.22
개발 환경 설정하기 - node와 VScode 설치  (0) 2022.08.22

댓글