Are javascript object keys case sensitive?

后端 未结 2 506
被撕碎了的回忆
被撕碎了的回忆 2020-12-19 06:16

I was trying to fix duplicate items in an array on javascript by the means of object keys. The loop added \'virtual reality\' and \'Virtual Reality\' in the same object as d

2条回答
  •  时光说笑
    2020-12-19 06:56

    JavaScript like most languages is indeed case sensitive. Nothing to do about it unfortunately.

提交回复
热议问题