JavaScript Object Sets

A JavaScript Set is a collection of unique values. You can create a JavaScript Set by using new Set() method.

Code :