git ssb

1+

Matt McKegg / mutant



Tree: 784a83eb521d4e284478ac2ee4160e2e85a617bc

Files: 784a83eb521d4e284478ac2ee4160e2e85a617bc / test / test-set.js

281 bytesRaw
1var Set = require('../set')
2var Value = require('../value')
3
4var set = Set()
5var value = Value('ducks')
6set(x => console.log(x))
7
8set.add('cats')
9set.add('dogs')
10set.add('logs')
11set.add('cats')
12set.add(value)
13
14value.set('cows')
15
16set.delete('dogs')
17set.set(['dogs', 'logs', value])
18

Built with git-ssb-web