git ssb

1+

Matt McKegg / mutant



Tree: 13c491b3bb6c89a2546fd4301ea7396625a55e9d

Files: 13c491b3bb6c89a2546fd4301ea7396625a55e9d / 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