find unique no in a list js code example Example: unique values in array javascript let uniqueItems = [...new Set(items)]