본문 바로가기

전체 글252

3. 데이터 타입, data types, let vs var, hoisting 💡 입력 연산 출력이 주요 기능이다!! → 전송도 포함일 수 있다! CPU에 최적화된 연산, 메모리에 최적화된 연산이 중요하다!! // 1. Use strict // added in ES 5 // use this fro Vanila JavaScript 'use strict'; // 2. Variable // let (added in ES6) let name = 'ellie'; console.log(name); name = 'hello'; console.log(name); //2-1. Block { let name = 'ellie'; console.log(name); name = 'hello'; console.log(name); } //지역 변수로 쓰게 되면 출력이 되지 않는 문제점이 있다!! consol.. 2021. 2. 13.
2. 콘솔에 출력, Script async와 defer의 차이점 Home - Ecma International Ecma is driven by industry members to meet their needs, providing a healthy competitive landscape based on differentiation of products and services rather than technology models, generating confidence among vendors and users of new technology. http://ecma-international.org MDN Web Docs The MDN Web Docs site provides information about Open Web technologies including HTML.. 2021. 2. 13.
TypeScript 관련 에러 대처방안 모음 1. (모듈 없다고 뜰대 에러 번호 833) 폴더가 세부폴더여도 안된다! -> 이경우 모듈 없다고 뜨니 하위 폴더 말고 본 폴더에서 터미널 실행할 수 있도록 !! 2. tsc 안먹히는 경우 : dog-developers.tistory.com/183 [PowerShell] 이 시스템에서 스크립트를 실행할 수 없으므로 파일을 로드할 수 없습니다. 자세한 내 Visual Studio Code IDE 툴에서 TERMINAL 을 사용하여 webpack을 실행시 또는 다른 명령어 사용시 에러 해결 error message webpack : 이 시스템에서 스크립트를 실행할 수 없으므로 C:\Users\shimk\AppDa.. dog-developers.tistory.com 1. windows PowerShell 프로.. 2021. 2. 10.
VS code 단축키 정리 반복되는 코드를 한번에 수정하기 맥 단축키: Command + D 윈도우 단축키: CTRL + D 반복된 코드를 한번에 수정할 때 유용하다. 단축키를 누를 때마다 해당 코드가 반복 선택된다. 아래 화면은 preDocumentInfo 코드를 location으로 변경하고 있다. 변수명/함수명 한번에 바꾸기 단축키: F2 함수나 변수명을 한번에 변경할 때 유용하다. 위의 단축키와는 다르게 선택한 변수명을 수정하면 해당 변수명이 모두 변경된다. 코드 위/아래로 이동하기 맥 단축키: Option + ↑ 또는 ↓ 윈도우 단축키: Alt + ↑ 또는 ↓ 이동할 코드에 커서를 두고 단축키를 누르면 해당 코드가 위/아래로 이동한다. 여러 줄의 코드를 선택하면 선택된 코드가 모두 이동한다. 코드 위/아래로 복사하기 맥 단.. 2021. 2. 10.
반응형