git ssb

1+

Matt McKegg / mutant



Tree: be0df157d2e308a5ea7014d2d266d2d48f87699d

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