What is a construct in JavaScript?

When I was learning JavaScript, I was browsing the web and seeing numerous links to constructs in Javascript, but I cannot find a complete definition of what they are and what they are not, especially in the context of Javascript.

For example, in the "Similar Questions" section, I see links that lead to an example containing the following code:

Q What is this javascript construct? :

(function () {

})();

From what I understand, this is a design, but what do they define?

+5
source share
3 answers

- , . javascript .

, . , , , , , var x = "hello world"; , .

+10

A " " - , . :

, .

, , . "", "", " ", " ", " ", " " .., , , . .

+3

MASTERING HTML4 Deborah Eric Ray:

- , JavaScript script

, Break, Comment, If, If else.... , - JavaScript, (), script.

0
source

All Articles