Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Check an item from the Set:
var setA = new Set();
setA.add(“maps”);
setA.add("maps").add("filters").add("generators").add("arrow functions");
setA.has(“promises”);
setA.has(“generators”);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment