I was wondering if there was a specific difference in implementing an iterator using the @@iterator function versus the Symbol.iterator one:
On MDN, there is a page on Array.prototype.@@iterator, yet in the examples itself, Symbol.iterator is used as the function name. Is this just the updated version and @@iterator is not valid anymore, or are both of them valid?