var mySet = new Set([1,2,3,4,5]); for (let myNum of Array.from(mySet).reverse()) { console.log(myNum); }
Copyright © 2025 datapearls.org