Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/School-Work / School Work/Array Destructuring./hint.js |
| Date | Not specified in source |
| Repository | Janady13/School-Work |
| Revision | 4a666c890caf7c43c47d0572dbcc287373c7a78e |
| Branch | main |
| Path or archive member | School Work/Array Destructuring./hint.js |
| Original SHA-256 | b5d7be066bfaf388534616c4e021dbb69cf80ce90de5e444f7ddb1c0ec5c2079 |
| Git blob SHA | 027cf97fbba8fc1b14c0a0dab6ca13cd0c41ca10 |
| Reading-copy SHA-256 | b5d7be066bfaf388534616c4e021dbb69cf80ce90de5e444f7ddb1c0ec5c2079 |
Recovered source transcript
Download complete source text ↓6 lines · 0.2 KB
// Array destructuring syntax
const arr = ['item1', 'item2']
const [firstItem, secondItem] = arr
// Array spread operator
const newArray = [...oldArray1, someVariable];