git ssb

1+

Matt McKegg / mutant



Tree: b35eca24d32105f9e81cbaa096815aaa408ef460

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