0
Please, explain step by step
Why does output equals to 4? https://code.sololearn.com/Wf720i5mVD0A/?ref=app
1 ответ
+ 7
If you enter a number as the key of an object, it becomes a string. Therefore, the second value of "0" replaces the first.
Why does output equals to 4? https://code.sololearn.com/Wf720i5mVD0A/?ref=app