Web Development

Sponsored by

A JavaScript for loop executes a block of statements until a specified condition is true.

  • Currently 0 stars out of 5
  • 1
  • 2
  • 3
  • 4
  • 5
0 (0 votes)

An Array is used to store a number of values (called as elements) in order with a single variable.

  • Currently 0 stars out of 5
  • 1
  • 2
  • 3
  • 4
  • 5
0 (0 votes)

The sort() method is used to sort the elements of an array.

  • Currently 0 stars out of 5
  • 1
  • 2
  • 3
  • 4
  • 5
0 (0 votes)

The substr() method returns the characters in a string starting at a specified position and continuing for a specified number of characters.

  • Currently 0 stars out of 5
  • 1
  • 2
  • 3
  • 4
  • 5
0 (0 votes)

The parseInt is used to get a numeric value from a string. parseInt is a top-level function and is not associated with any object.

  • Currently 0 stars out of 5
  • 1
  • 2
  • 3
  • 4
  • 5
0 (0 votes)

A script is an executable list of commands like macro or batch file created by a scripting language.

  • Currently 0 stars out of 5
  • 1
  • 2
  • 3
  • 4
  • 5
0 (0 votes)

The max() method of math object is used to get the larger of two given numbers.

  • Currently 0 stars out of 5
  • 1
  • 2
  • 3
  • 4
  • 5
0 (0 votes)

The abs() method of math object is used to get the absolute value of a number.

  • Currently 0 stars out of 5
  • 1
  • 2
  • 3
  • 4
  • 5
0 (0 votes)

In JavaScript the while loop is simple, it executes its statements repeatedly as long as the condition is true. The condition is checked every time at the beginning of the loop.

  • Currently 0 stars out of 5
  • 1
  • 2
  • 3
  • 4
  • 5
0 (0 votes)

The global property of the RegExp object specifies whether the g flag is used with the regular expression or not. If used, the regular expression is tested against all possible matches in a string. The value of the global is true if the "g" flag is used; otherwise false.

  • Currently 0 stars out of 5
  • 1
  • 2
  • 3
  • 4
  • 5
0 (0 votes)
1 2 3 4 5 6 Next

60 Javascript Basics Tutorials

Page 1 of 6