Working with Higher Order Functions and Callbacks - How Does the Sort Method Work?

Tell us what’s happening:

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?

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/lecture-working-with-higher-order-functions-and-callbacks/673362d7f94d551edb532d24.md at main · freeCodeCamp/freeCodeCamp · GitHub

the only solution we have here is to remove the interactive editor, different environments show empty slot differently

for example, this is from the browser console:
image

this is the JS environment in pythontutor.com, it shows two different ways even

the other freeCodeCamp editor

It would be nice if you could change the text to clarify that detail about the different enviroments . Idk, just in case