SET And MAP OBJECT
Mar 15, 2023 · 1 min read · Set => set is object , you store unique values of any type Set Syntax : const mySet1 = new Set( ); How to add/ insert element in a set : Using: .add() If you have a doubt those element is present or not , you using the: .has() If you decided this ele...
Join discussion