Language - Anonymous Block

1 - About

An anonymous block is a block of code without name that then cannot be called (ie reused).

The statements are between block character such as: ( and ) or { and }

3 - Example

An anonymous block in java-script:

{ 
     y = 2; 
     x = 2 + y;
     console.log( x ); // 4
}
code/grammar/anonymous_block.txt ยท Last modified: 2017/09/17 18:22 by gerardnico