Skip to content

Commit

Permalink
quick typo
Browse files Browse the repository at this point in the history
  • Loading branch information
petry078 authored Dec 20, 2023
1 parent 96febd0 commit 9a68d0e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/posts/2022-08-20-javascript-references.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ In JavaScript we write objects. Objects have **properties**, that can be:
* **Primitive Values**;
* **Functions**.

> Everything that is not a primitive value, is an object.
There are several built-in objects in JavaScript:

* `Object`;
Expand Down Expand Up @@ -733,7 +735,7 @@ arr[0] = "NewValue"
* `arr.splice()` used to replace elements.
* `arr.slice()` select elements of an array in a new array.
* `arr.map()` used for repetition loops. Run commands in each array element and creates a new array with the results.
* `arr.forEarch()` used for repetition loops. Run commands in each array element and saves results in the same array.
* `arr.forEach()` used for repetition loops. Run commands in each array element and saves results in the same array.

### Array properties

Expand Down

0 comments on commit 9a68d0e

Please sign in to comment.