# JavaScript Data Types Quiz

## JavaScript Data Types

???

## JavaScript Data Types Quiz

?: Which of the following is/are strings?

\[ ] `4` \[ ] `4.0` \[X] `'4'`

?: Which of the following is/are numbers?

\[X] `4` \[X] `4.0` \[ ] `'4'` \[X] `-4`

?: Which of the following is/are booleans?

\[X] `true` \[X] `false` \[ ] `"true"`

?: What is the result of `80 + 71.2`?

(X) `151.2` ( ) `151` ( ) `8071.2`

?: What is the result of `"80" + 71.2`?

( ) `151.2` ( ) `151` (X) `"8071.2"`

?: What is the result of `2 + "2"`?

( ) `4` ( ) `"4"` (X) `"22"`

?: Does `100 + 30` produce a number or a string?

(X) number ( ) string

?: Does `"100" + 30` produce a number or a string?

( ) number (X) string

???


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://certil-remy.gitbook.io/learn/javascript/untitled/untitled-2.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
