Function in JavaScript

Information on this page give you basic knowlege About Functions in JavaScript.

You will learn

  • What is arguments
  • What is parametrs

JavaScript functions (hover any symbol or word and read):

function concatenatePersonsData( firstName, lastName, points ) {

return `${firstName} ${lastName} has ${points} point(s)`;

}

const person = concatenatePersonsData( "Dom", "Snow ", 10 );