git ssb

1+

Matt McKegg / mutant



Tree: b9dcc7d4908103b141bd9701cec47b3eebd64d2b

Files: b9dcc7d4908103b141bd9701cec47b3eebd64d2b / 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