Q: Is `10e1` an Integer literal or Floating point literal? I was looking into this article and wondering if 10e1 is an Integer Literal or a Floating Point Literal.
I know that 100 is an Integer literal. Does it make any difference if I write 10e1 instead? 
When I check in the spec here(7) or here(5.1), there is nothing called "Floating Point Literal". Is this just another incorrect doc in MDN? Any idea what Floating Point Literal refers to?
To summarise:


*

*Does 100 and 10e1 fall into same category of literals? If yes, which?

*Is there something called "Floating Point Literal"?


A: 
Does it make any difference if I write 10e1 instead of 100?

Not for the result, no. But it's one character more to transfer and parse (so better use 1e2 :-D), and it will affect readability. Not everyone is familiar with exponents.

In the spec there is nothing called "Floating Point Literal". Is this just another incorrect doc in MDN?

The MDN guide is dubious for sure, naming a sections "Integers" in an article about JS types is confusing at least.

Does 100 and 10e1 fall into same category of literals? If yes, which?

Yes, they're both numeric literals. JS does not distinguish between numbers with and without a fractional part, they all have the same floating-point type. There is only one grammar for decimal number literals, with fractional digits and exponents being optional.

Any idea what Floating Point Literal refers to?

It's meant as "(number) literal for a floating-point number", just as "Integer literal" means "(number) literal for a floating-point number representing an integer".

A: DecimalLiteral::
    DecimalIntegerLiteral.DecimalDigits(opt) ExponentPart(opt)
    .DecimalDigits ExponentPart(opt)
    DecimalIntegerLiteral ExponentPart(opt)
DecimalIntegerLiteral::
    0
    NonZeroDigitDecimalDigitsopt

As per spec, 100 and 10e1 are both "DecimalLiteral" while 100 also qualifies to be "DecimalIntegerLiteral"
None of these should make any real difference to the developer as mentioned in comments by @Thilo 
The internal representation as per IEEE-754 should as well be the same.
Status  Sign [1]    Exponent [11]      Significand [52]
Normal  0 (+)       10000000101 (+6)   1.1001000000000000000000000000000000000000000000000000 (1.5625)

