Intro to javascprite.

JavaScript is the most popular programming language for both front-end and back-end web development.

some of contans here:

  • Numbers
  • Strings
  • Array
  • Object
  • Function

Numbers:

Numbers are a primitive data type. They include the set of all integers and floating point numbers.

  • NaN
  • 6.02e23

Strings:

we joined only two strings, but you can join as many as you like, as long as you include a + between each pair. Try this:

Array:

Inside the forEach loop callback function all element of the array is automatically passed as the first parameter of the function.

Object:

Objects are created in a number of ways, although the most common is by the use of the new operator.

Function:

I can also enter more than one parameter in functions. Bear in mind that parameters must be typed in the exact same position as the variable declarations to avoid errors as shown below.

Simple Boy in BanglaDesh