mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): Casing typo in JavaScript quiz (#62217)
This commit is contained in:
+2
-2
@@ -154,11 +154,11 @@ A boolean indicating whether any elements meet a condition.
|
||||
|
||||
---
|
||||
|
||||
An Array with all elements reduced by specified callback function.
|
||||
An array with all elements reduced by specified callback function.
|
||||
|
||||
---
|
||||
|
||||
An Array of booleans.
|
||||
An array of booleans.
|
||||
|
||||
#### --answer--
|
||||
|
||||
|
||||
+2
-2
@@ -6,11 +6,11 @@ dashedName: learn-arrays-and-loops-lesson-a
|
||||
---
|
||||
# --description--
|
||||
|
||||
Strings and numbers may be our building blocks, but as your scripts get more complex, you're going to need a way to deal with large quantities of them. Luckily, JavaScript has a couple of data types that are used for just that. An Array is an ordered collection of items (Strings, numbers, or other things).
|
||||
Strings and numbers may be our building blocks, but as your scripts get more complex, you're going to need a way to deal with large quantities of them. Luckily, JavaScript has a couple of data types that are used for just that. An array is an ordered collection of items (Strings, numbers, or other things).
|
||||
|
||||
Arrays are a way to store multiple values in a single variable. They are a special type of object that has a length property and a series of numbered properties. Each numbered property is called an element, and each element can store a value of any type.
|
||||
|
||||
An Example of an array is:
|
||||
An example of an array is:
|
||||
|
||||
```javascript
|
||||
const fruits = ['apple', 'banana', 'orange'];
|
||||
|
||||
Reference in New Issue
Block a user