What is decimal literal in JavaScript?
A decimal literal in JavaScript is a numeric literal that represents a base-10 (decimal) number, which is the most common way we represent numbers in everyday life. It consists of a series of digits (0-9) without any prefix. Decimal literals can be integers or floating-point numbers.
Types of Decimal Literals: