JavaScript Data types: The top four data types and most important data types in JavaScript is numbers, objects, strings, and functions. Numbers: First I discuss numbers, JavaScript has only one type of number. These numbers can be written with decimals or without decimals. const s1 = 23.00 //written with decimals …