Which data type in JavaScript can be used to store a sequence of characters?
- char
- sequence
- string
- text
In JavaScript, the string data type is used to store a sequence of characters. The char data type doesn't exist in JavaScript, and neither sequence nor text are valid data types for this purpose.
Loading...
Related Quiz
- To run a pre-hook for a custom script named "build," you would define a script named ______ in your package.json file.
- Pug was formerly known as ______ before it was renamed.
- What is the difference between the == and === operators in JavaScript?
- The aud claim in a JWT token represents the ________ for which the JWT is intended.
- How can middleware be added to an Express application to process requests?