git ssb

1+

Matt McKegg / mutant



Tree: 91e3d5d798ebcef85048597e9a56b9f579613469

Files: 91e3d5d798ebcef85048597e9a56b9f579613469 / 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