hugo website for pit
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
# array
|
||||
---
|
||||
title: "array"
|
||||
description: "Array creation and manipulation"
|
||||
weight: 30
|
||||
type: "docs"
|
||||
---
|
||||
|
||||
The `array` function and its methods handle array creation and manipulation.
|
||||
|
||||
@@ -59,8 +64,7 @@ array({a: 1, b: 2}) // ["a", "b"]
|
||||
Split text into grapheme clusters.
|
||||
|
||||
```javascript
|
||||
array("hello") // ["h", "e", "l", "l", "o"]
|
||||
array("👨👩👧") // ["👨👩👧"]
|
||||
array("hello") // ["h", "e", "l", "l", "o"]
|
||||
```
|
||||
|
||||
### array(text, separator)
|
||||
|
||||
Reference in New Issue
Block a user