asked 190k views
3 votes
JavaScript Fill in the blank: All numbers in TypeScript are either ____________ Pick ONE option

-) longs or BigIntegers
-) strings or BigIntegers
-) floating point values or integers
-) floating point values or BigIntegers

asked
User Aleksov
by
8.3k points

1 Answer

6 votes

Final answer:

All numbers in TypeScript are either floating point values or integers. JavaScript uses a data type called 'number' to represent both types.

Step-by-step explanation:

All numbers in TypeScript are either floating point values or integers. JavaScript, the programming language that TypeScript is based on, uses a data type called 'number' to represent both floating point values (decimal numbers) and integers (whole numbers). For example, the number 3.14 and the number 7 are both considered 'number' data types in JavaScript.

answered
User Ihuk
by
8.1k points