by cillian64 · 3y ago · 0 comments
That said, I still think sparing use of this is justified, especially with an editor which can show types on mouseover.
let data = get();
let uniqueData = Array.from(new Set(data));
// ... (snipped many lines)
process(data); // should have been uniqueData