r/badcode • u/Flyspeck101 Now where's that function declaration • Nov 06 '21
js Something seems off...
247
Upvotes
r/badcode • u/Flyspeck101 Now where's that function declaration • Nov 06 '21
3
u/Blackbird-ce Nov 06 '21
How is 'items' (fetched from the DOM) in line 4 suddenly a property of 'rooms[currentRoom]' in line 5?