git ssb

1+

Matt McKegg / mutant



Tree: b9dcc7d4908103b141bd9701cec47b3eebd64d2b

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