jsmap

<script language="javascript">
var obj = new Object;
function test() {
 var keyName = "192.168.1.1"
 var keyName1 = "192.168.1.2";
 obj[keyName] = 100;
 obj[keyName] = obj[keyName] + ",200";
 obj[keyName1] = 200;
 alert(obj[keyName] + "," + obj[keyName1]);
}
</script>

你可能感兴趣的:(jsmap)