标签:
设定map道路(它是非常有用的json履行)
var a = {}; a["key1"] = "value1"; a["key2"] = "value2";
if ("key1" in a) { // something } else { // something else }
var a = {‘key1‘: ‘value1‘, ‘key2‘: ‘value2‘}
版权声明:本文博客原创文章,博客,未经同意,不得转载。
标签:
原文地址:http://www.cnblogs.com/gcczhongduan/p/4638469.html