开发者

Difference in capitalization (javascript)

I noticed in my code that I used .Length and .length (for an array). I now in some languages, this doesn't work. What happened here? Are these things just not case sensitiv开发者_JAVA技巧e?


JavaScript is case sensitive. One thing that's possible is that someone added a property called Length to Array's prototype in your codebase.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜