what is the constructer ?

  • constructor is a function that creates an instance of a class which is typically called an “object”. In JavaScript, a constructor gets called when you declare an object using the new keyword. The purpose of a constructor is to create an object and set values if there are any object properties present. ( html and css]

what is the table?

  • A table represents information in a grid format. Examples of tables include financial reports, TV schedules, and sports results.

    notes:

  • The table element is used to add tables to a web page.
  • table is drawn out row by row. Each row is created with the tr element.
  • Inside each row there are a number of cells represented by the td element (or thif it is a header). You can make cells of a table span more than one row or column using the rowspan and colspan attributes. For long tables you can split the table into a thead, tbody, and tfoot

 html and css]

what is the function?

  • A JavaScript function is a block of code designed to perform a particular task.

A JavaScript function is executed when “something” invokes it (calls it).  html and css]

( html and css]