git ssb

1+

Matt McKegg / mutant



Tree: d7a1130a598a37fd45555d78281b786778132101

Files: d7a1130a598a37fd45555d78281b786778132101 / test / test-array.js

362 bytesRaw
1var Array = require('../array')
2var Value = require('../value')
3
4var value = Value('human')
5var array = Array(['cat'])
6array(x => console.log(x))
7
8array.push('dog')
9array.push('cow')
10array.push(value)
11array.push('chicken')
12console.log('shift =>', array.shift())
13array.push('wolf')
14array.insert('sheep', 0)
15console.log('pop =>', array.pop())
16
17value.set('monkey')
18

Built with git-ssb-web