A function definition expression can be called

The property of a primary expression is

Consider the following statements
var text = "testing: 1, 2, 3"; // Sample text
var pattern = /d+/g // Matches all instances of one or more digits
In order to check if the pattern matches with the string “text”, the statement is

The JavaScript’s syntax calling ( or executing ) a function or method is called

Read More Section(Basic and Variables)

Each Section contains maximum 70 questions. To get more questions visit other sections.