JSON.stringify() won’t work for ES6 Set Leave a Comment / Frontend / April 17, 2019 April 17, 2019 It will just return “{}”, no matter if the Set is empty. This also means deep clone based on JSON won’t work. If JSON.stringify() matters to you, use Array instead of Set