access first element of a set js code example Example: js set get first value set.values().next().value