how to return first element in a set javascript code example Example: js set get first value set.values().next().value