復制代碼 代碼如下:dump(value, [showTypes]) @ par " /> 手机在线观看mv网址,一个人看的WWW高清电影,色综合伊人色综合网站中国

天天躁日日躁狠狠躁AV麻豆-天天躁人人躁人人躁狂躁-天天澡夜夜澡人人澡-天天影视香色欲综合网-国产成人女人在线视频观看-国产成人女人视频在线观看

Javascript中的var_dump函數實現代碼

發現了一個非常好的JavaScript調試方法,目前看到的是可以打印Object/Array/Function/String四種類型,使用方法和php中的var_dump()一樣,只要直接dump(變量名)即可。

復制代碼 代碼如下:
dump(value, [showTypes])
@ param value (Any) value to dump
@ param [showTypes] (Boolean) optional to display each key/value's type
@ return (Void) returns nothing


The Dump method is based on one of the tags available in Coldfusion ( <cfdump>) providing the ability to display simple and complex variables in a user friendly way that is perfect for debugging/inspecting data. There is no way to do this with Javascript and often I had wanted a method to do this. This method will do just that allowing for an infinite amount of data nesting complete with color coding for different data types, the ability to show/hide the data's type (String/Number/Boolean/Object/Array/Function), expandable and collapsible tables/keys and cross browser support.

Click on the buttons bellow to see some examples in action, toggle the Show Data Types box to see Javascript data typing in action (not possible in Coldfusion).

Browser Support
InterNET Explorer 6, InterNET Explorer 7, Firefox 1.5, Opera 8, Safari 1.2 (Mac), Firefox (Mac) - all tested, should also work in most other browsers

Dump Examples
官方網址
http://www.NETgrow.com.au/files/Javascript_dump.cfm
相關文件
http://www.NETgrow.com.au/assets/files/dump/dump.zip

以防上面的地址下載不了,腳本之家本地下載地址
http://www.jb51.NET/jiaoben/20804.html

JavaScript技術Javascript中的var_dump函數實現代碼,轉載需保留來源!

鄭重聲明:本文版權歸原作者所有,轉載文章僅為傳播更多信息之目的,如作者信息標記有誤,請第一時間聯系我們修改或刪除,多謝。

主站蜘蛛池模板: 俄罗斯搜索引擎Yandex推广入口 | 色综合伊人色综合网站中国 | 亚洲成人免费看 | 亚洲国产精品免费观看 | 三级黄色片免费观看 | 2021久久精品免费观看 | 真实处破女全过程完免费观看 | 精品综合久久久久久8888 | 午夜在线观看免费完整直播网 | 亚洲综合中文字幕无线码 | 亚洲欧洲日产国产 最新 | 91视频18| 国产成人久久精品激情 | 第一次处破女完整版电影 | 亚洲久热无码中文字幕 | 99久久免费国内精品 | 亚洲一区自拍高清亚洲精品 | 毛片在线不卡 | 动漫护士被乳羞羞漫 | 亚洲男人97色综合久久久 | 国产高清国内精品福利色噜噜 | 精品国产露脸久久AV麻豆 | 各种肉黄浪荡故事集 | 国产亚洲精品久久孕妇呦呦你懂 | adc我们的永久网址 adc网址在线观看 | 成人午夜剧场 | 欧美GAY猛男GAYA片18禁 | 亚洲国产在线精品国自产拍五月 | 校花在公车上被内射好舒 | 老太婆风流特黄一级 | 久久国产高清字幕中文 | 91av成年影院在线播放 | 东北女人奶大毛多水多 | 青青草A在在观免费线观看 青青草AV国产精品 青青草 久久久 | 国产深夜福利视频在线 | 日韩欧美 亚洲视频 | 母狗黄淑珍 | 亚洲日韩国产精品乱-久 | 午夜无码国产理论在线 | 耽肉高h喷汁呻吟 | 这里只有精品网 |