According to mdn's Set documentation, entries is provided as a convenience method...to keep the API similar to the Map object, each entry has the same value for its key and value here, so that an array [value, value] is returned.My question is what is the purpose of keeping the API similar in this case?  i.e. when would I ever use the method entries for a Set?
Why would I use es6 Set prototype -> 'entries'
javascript;es6