Skip to content

Commit

Permalink
Update MapAndArray.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kmahmood74 authored Nov 17, 2023
1 parent dbd97ed commit ebf1a58
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions javascript-reference/MapAndArray.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,17 @@ Arrays behave exactly as they would in regular javascript. You can access an ite
- Let us know on our [Discord server](https://discord.gg/k4CJeuRc) if you need any of other capabilities
- or open a [ticket](https://github.com/EnsembleUI/ensemble/issues)

## Properties
### length
Returns the length of the array. Works exactly like the javascript arrays.

**Example:**

```javascript
var numbers = [1, 4, 9];
console.log(roots.length); // 3
```

## Methods
### map

Expand Down

0 comments on commit ebf1a58

Please sign in to comment.