generates all possible subsets (powerset) of elements in a given array
//generate all possible ways in which alice bob and eve can be selected
var powerSet = require('enum-powerset')
var arr = ['alice', 'bob', 'eve']
var result = powerSet(arr)
console.log(result)
returns an array containing all possible selections of elements in given array arr
MIT