I am playing with Set in Node.JS v0.11.3 and the --harmony flag. The API works fine, I can add, remove, clear, etc. I have however not been able to initialise a set with an array. I have tried (as prompted by the MDN page)
var mySet = new Set([1, 1, 2]);
How can I convert an array to a set? Is MDN outdated? Has Node.JS simply not implemented the feature?