标签: javascript variables
我正在努力定义多个变量:
var city_NAME = ("Birmingham" , "London"); //**various code i can't share** if(thisLoc.getName() == City_NAME) {
问题完全在于:
var city_NAME = ("Birmingham" , "London");
因为它只打印第二个城市(伦敦)