ReferenceError: "Set" is not defined

Hi, I'm trying to declare a Set and get the error ReferenceError: "Set" is not defined. I'm new to appery.io and have googled stackoverflow and these boards but don't find anything specific to my issue. I commented all code after the declaration as well and it still gives the error, it it's definitely that first line.

var dBSet = new Set();
....some code cleaning up my data
if (!dBSet.has(sfrobj5.items[i].title)) {
dBSet.add(sfrobj5.items[i].title);
}
1 person has
this problem
+1
Reply