Javascript - Special Characters


Characters that can act as: Expression operator (ie an operator) The beginning of a statement
( Javascript - Grouping Operator ()
[ Javascript - Array
+ Concat or addition
- Minus
/ Division Regular expression

Example: / as a regular expression that begins a statement.

/Error/i.test("Error in the log") && console.log("exit!"); 


Share this page:
Follow us:
Task Runner