SKETCH OF HOW RESEARCH MIGHT CONTINUE AND RESULTS BE PRESENTED

JScript Statements: function

Syntax

function [ function-declarator-list ] ( [ identifier-list ] ) { [ statement-list ] }

The optional function-declarator-list is a comma-separated sequence:

function-declarator [[ , function-declarator ]...]

in which each function-declarator has a syntax that may surprise for its complexity (considering especially that Microsoft’s documentation says nothing of it):

identifier [[ . identifier ]...] [ :: identifier ]

The identifier-list within parentheses is optional but the parentheses are not. It too is a comma-separated sequence:

identifier [[ , identifier ]...]

The required braces introduce a statement-list, which may (as usual) be empty.