first item from set javascript code example Example: js set get first value set.values().next().value