The set is a collection of unique values in javascript. That takes values individually or in the form of an array. The data type of Set is an object. Example :const set1 = new Set(); // set constructionset1.add(1); // adding an element in setset1.add...