The structured programming
JavaScript supports all structured program syntax in C (for example, if statements, while closed loops, switch statements etc.). One partial exception - the browse: the browse of bar level of C-style is not supported. JavaScript 1.7, however, the browse of bar level supports, thanks to application let as keyword. As C, JavaScript does distinction between expressions and statements.
Dynamic programming
Dynamic printing
As well as on the majority scripting languages, types are linked to values, not variables. For example, the variable x can be linked to number then more there is later a restoring in sequence. JavaScript supports various ways to check up object type, including duck printing.
Objects as associative sets
JavaScript it is hard grounded on the object. Objects - the associative sets increased with pre-production models. Names of the property of the object - associative keys of set: obj.x = 10 and obj ["x"] = 10 are equivalent, the dot note which is simply syntactic sugar. Properties and their values can be added, changed or remote in execution time. Properties of the object can be enumerated also through a for... in closed loops.
Estimation in execution time
JavaScript switches on function of an estimation which can fulfil the statements given as sequence in execution time.
Programming of Level of function
The first class functions
Functions are first class; they - objects directly. Also, they have properties and can be distributed and co-operate as any other object.
Internal functions
Internal functions (the functions defined within other functions), form each time when external function is called, and variables of external functions for that request continue to exist while internal functions still exist. Even after that request is completed (for example if internal function has been returned, it still has an access to external function variables) is - the mechanism behind closings within JavaScript.
tűzhely - split klíma - psoriosis cream
|