#ECMA-262
在電腦科學領域,semantics 翻成「語意」是好的中文翻譯嗎?
「執行期語意:求值」——每個字都認識,合起來不知道在說什麼。問題不在英文:規格書裡的 semantics 指「它實際上會做什麼」,中文「語意」卻偏向說話者想表達的意思。這篇回溯這個詞從語言學、邏輯學到 ALGOL 60 的旅程,說明「語意」為什麼接不住,以及讀 spec、翻成中文時怎麼辦。
How is a Variable Resolved to the Value in JavaScript?
Follow an IdentifierReference through ECMAScript environment records to understand how JavaScript resolves a variable name to its value.
Reading the ECMA-262: How Declarations in Block Context Work
To understand hoisting and variable scoping better, let's dive into the ECMAScript specification of block declarations.
Reading the ECMA-262: How Declarations in Function Context Work
To understand hoisting and variable scoping better, let's dive into the ECMAScript specification of function declarations.
Reading the ECMA-262: How Declarations at Global Level Work
To understand hoisting and variable scoping better, let's dive into the ECMAScript specification of global declarations.
How Declarations are Collected for Instantiation?
Learn how JavaScript engines collect declaration information for instantiation, including global, function, and block contexts.
Reading the ECMA-262 Specification: What are Operations and Semantics?
This article will introduce what is the ECMA-262, and some crucial concepts for understanding the specification.