Which data type is NOT available in JavaScript?
- Symbol
- Float
- String
- Array
JavaScript supports a wide range of data types, including numbers, strings, symbols, and arrays. However, "Float" is not a distinct data type in JavaScript; instead, it uses the "number" data type to represent both integers and floating-point numbers. Symbols are used for creating unique identifiers, strings store text, and arrays are used to store collections of values.
Loading...
Related Quiz
- A common use-case for a "for" loop in asynchronous programming is to use it with the ________ function.
- JavaScript was initially designed to make web pages more _________.
- You are developing a system where you have a base class "User" and two derived classes "Admin" and "Guest". If you want to add a method that is only applicable for "Admin" and not for "Guest", where should you add that method to adhere to the Liskov Substitution Principle?
- When using querySelectorAll, the returned object is a _______.
- The _______ method is used to handle errors in Promises.