git ssb

1+

Matt McKegg / mutant



Tree: 784a83eb521d4e284478ac2ee4160e2e85a617bc

Files: 784a83eb521d4e284478ac2ee4160e2e85a617bc / 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