Remove backticks from around data types to ease translations (#42403)

pull/42407/head
Ilenia 2021-06-08 10:33:16 +02:00 committed by GitHub
parent 7c8b0fcf08
commit 28add4712a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -19,23 +19,23 @@ var sandwich = ["peanut butter", "jelly", "bread"]
# --instructions--
Modify the new array `myArray` so that it contains both a `string` and a `number` (in that order).
Modify the new array `myArray` so that it contains both a string and a number (in that order).
# --hints--
`myArray` should be an `array`.
`myArray` should be an array.
```js
assert(typeof myArray == 'object');
```
The first item in `myArray` should be a `string`.
The first item in `myArray` should be a string.
```js
assert(typeof myArray[0] !== 'undefined' && typeof myArray[0] == 'string');
```
The second item in `myArray` should be a `number`.
The second item in `myArray` should be a number.
```js
assert(typeof myArray[1] !== 'undefined' && typeof myArray[1] == 'number');