ES6 sets

Run Settings
LanguageJavaScript
Language Version
Run Command
let list = ['foo', 'bar', 'baz', 'foo']; let set = new Set(); list.forEach(function(x) { set.add(x); }); console.log("List length: " + list.length); console.log("Set size: " + set.size);
Editor Settings
Theme
Key bindings
Full width
Lines