5. 표현식과 문
·
Tech Books & Lectures/Javascript_Modern JS Deep dive
5.1 값 값은 식(표현식)이 평가되어 생성된 결과를 말한다. 메모리에 저장된 값은 데이터 타입에 따라 다르게 해석될 수 있다. 5.2 리터럴 리터럴은 사람이 이해할 수 있는 문자 또는 약속된 기호를 사용해 값을 생성하는 표기법을 말한다. 자바스크립트 엔진은 코드가 실행되는 시점인 런타임에 리터럴을 평가해 값을 생성한다. 즉, 리터럴은 값을 생성하기 위해 미리 약속된 표기법이라고 할 수 있다. 5.3 표현식 표현식(expression) 은 값으로 평가될 수 있는 문이다. 즉, 표현식 평가되면 새로운 값을 생성하거나 기존 값을 참조한다. 이미 선언된 변수 식별자를 참조하면 변수 값으로 평가된다. 식별자 참조는 값을 생성하지는 않지만 값으로 평가되므로 표현식이다. 표현식은 값으로 평가된다. 표현식과 표현식이..
4. 변수
·
Tech Books & Lectures/Javascript_Modern JS Deep dive
4.1 변수란 무엇인가? 왜 필요한가? 컴퓨터는 CPU 를 사용해 연산하고, 메모리를 사용해 데이터를 기억한다. 메모리는 데이터를 저장할 수 있는 메모리 셀의 집합체다. 메모리 셀 하나의 크기는 1바이트(8비트) 이며, 컴퓨터는 메모리 셀의 크기, 즉 1바이트 단위로 데이터를 저장하거나 읽어들인다. 각 셀은 고유한 메모리 주소를 갖는데, 이는 메모리 공간의 위치를 나타내며, 0부터 시작해서 메모리의 크기만큼 정수로 표현된다. 메모리 주소를 통해 값에 "직접" 접근한다는 것은 치명적 오류를 발생시킬 가능성이 높은 매우 위험한 일이다. 왜냐하면, 운영체제가 사용하고 있는 값을 변경하면 시스템을 멈추게 할 수 있기 때문이다. 따라서, 자바스크립트는 개발자의 직접적인 메모리 제어를 허용하지 않는다. 값이 저장될..
Blog is not updated for a while. Please visit Github repo😎
·
카테고리 없음
Click here to Development Contents
dependencies version in package.json
·
Computer Science/Terminology and Concepts
semantic versioning Semantic versioning (aka SemVer), is a widely adopted version scheme that uses a sequence of three digits (Major.Minor.Patch), an optional pre-release tag and optional build meta tag. backward-incompatible change increments the major number new functionality that is backwards compatible API additions/changes increments the minor number simple bug fix to existing functionality..
What is JSON File ?
·
Computer Science/Terminology and Concepts
JSON stands for JavaScript Object Notation. A JSON file has .json as its extension and the data inside are represented in a key:value pair, just like a traditional JavaScript object. { "key1": "value1", "key2": "value2", "key3": "value3", "key4": 7, "key5": null, "favFriends": ["Kolade", "Nithya", "Dammy", "Jack"], "favPlayers": {"one": "Kante", "two": "Hazard", "three": "Didier"} } Accepted JSO..
Service worker
·
Computer Science/Terminology and Concepts
What is Service Worker: A service worker is a script that runs independently in the browser background. On the user side, it can intercept its network requests and decide what to load (fetch). Service workers mainly serve features like background sync, push notifications and they are commonly used for’offline first’ applications, giving the developers the opportunity to take complete control ove..