git ssb

1+

Matt McKegg / mutant



Tree: 994654fc520c8585e99de99665ac7140ce87a446

Files: 994654fc520c8585e99de99665ac7140ce87a446 / 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