Mistake in lesson example
When explaining how sort method works on undefined and empty elements, text says it should output [“apple”, “banana”, undefined, empty] but console clearly outputs [“apple”, “banana”, undefined, undefined]
It’s nothing serious but it could be corrected
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36
Challenge Information:
Working with Higher Order Functions and Callbacks - How Does the Sort Method Work?