for example title of this article is "The JavaScript Building Blocks: Data Types, Literals, and Variables"
http开发者_StackOverflow中文版://www.informit.com/articles/article.aspx?p=169501
What is the means of terms "Building Blocks" in JavaScript? Is it related to box on web-page, CSS box model?
The term "Building Blocks" is just a metaphor for the basic, essential elements needed to create something. It has no meaning specific to javascript.
The article is using it as a means of saying that it is dealing with the most elemental parts of javascript that you'll need to know.
No, it means the basic parts of the language.
It is an English term that means the basic parts of a larger whole (comes from building - where they are made from bricks/blocks).
See the Chambers dictionary, in particular 3 (highlighted):
building block noun 1 a hollow or solid block, larger than a brick, made of concrete or other material. 2 a child's toy, usually a cube made of wood. 3 any of the separate parts out of which something is built.
It's a colloquial/informal way of saying the most basic elements of the language that are needed for most tasks that you might want to do.
精彩评论