Message from JavaScript discussions

May 2017

— Ooops, that has to be initialized prior, haha


var mySet = new StringSet((function* () {
yield "Hello World";
yield "Morning Sunshine";
yield "Evening Gentlemen";

— Should work

— Will it consume the entire iterable at once?

— Yeah it should

— And it should take arrays too

— An array is an iterable

— You can consume both with a for..of or something

— Yeah

— Just got it working I think, add, has, and delete appear to be functioning well

— I'll send it

— I bet this might be slow as balls