javascript随笔20160808

 var jsondata=$.parseJSON(@ViewBag.x);  //转换为Json数据
var fruits = ["Banana", "Orange", "Apple", "Mango"];
fruits.push("Kiwi");  //字符串添加内容
 alert(parseInt("123")); //字符串转换为数字
原文地址:https://www.cnblogs.com/jinzhaoyoujiu/p/5750722.html