Window.location object
Staircase using repeat()
Generator Functions in JavaScript: