js hash 遍历

来源:互联网 发布:相声 知乎 编辑:程序博客网 时间:2024/06/06 06:56
<script> var check_hash = {                "long":"0",                "byte[]":"1",                "bool":"false",                "char":"' '",                "DateTime":"DateTime.Now",                "decimal":"0",                "float":"0",                "int":"0",                "string":"\"\""                };for(var key in check_hash){alert(key+"="+check_hash[key]); }</script>