我知道函数通常用驼峰表示,即
function myFunctionName(){
return false;
}
Run Code Online (Sandbox Code Playgroud)
和首字母大写的构造函数,即
function Person(name){
this.name = name;
}
Run Code Online (Sandbox Code Playgroud)
但是为什么JSON拼写在函数中的所有大写字母中:
JSON.stringify(someValue);
Run Code Online (Sandbox Code Playgroud)
我知道这可能是一个毫无意义的问题,但我似乎无法在网上找到答案.
谢谢