刚接触javascript下面的代码是什么意思呀,多谢!!!!! Object._nsroot = { jcf :{ _nsName : "jcf" }};几个括号嵌套,都晕了! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 javascript object 简称 jsonalert(Object._nsroot.jcf._nsName); 可以按hash結構來理解。你試下下面的代碼。<script>var Prototype = { Version: '1.5.0', BrowserFeatures: { XPath: !!document.evaluate }, ScriptFragment: '(?:<script.*?>)((\n|\r|.)*?)(?:<\/script>)', emptyFunction: function() {}, K: function(x) { return x }}alert (Prototype.K(5))//////////////////////////////////////////////////function pasta(grain, width, shape, hasEgg){ this.grain = grain; this.width = width; this.shape = shape; this.hasEgg = hasEgg;}var spaghetti = new pasta("wheat", 0.2, "circle", true);var linguine = new pasta("wheat", 0.3, "oval", true);alert (spaghetti.width);</script> meizz(梅花雪) ( )^^blood diamond na lo ho do !studying......... 呼唤代码高手,谁能解决这个问题? 怎么写这个的颜色的代码呀 关于数组的问题 不知道为什么数组的之值发生了变化 求解:坐标问题 纠结的问题 难题!100分征集解决方法 请问下js要导入一个30来M的json格式的数组 findText(s)相关问题,帮忙看看代码错在那里 td.onclick事件不响应 杭州高速发展中的互联网公司诚聘.net开发工程师、技术经理!!!有意者加QQ:38908802 MouseDown的参数问题
<script>
var Prototype = {
Version: '1.5.0',
BrowserFeatures: {
XPath: !!document.evaluate
}, ScriptFragment: '(?:<script.*?>)((\n|\r|.)*?)(?:<\/script>)',
emptyFunction: function() {},
K: function(x) { return x }
}alert (Prototype.K(5))//////////////////////////////////////////////////function pasta(grain, width, shape, hasEgg)
{
this.grain = grain;
this.width = width;
this.shape = shape;
this.hasEgg = hasEgg;
}var spaghetti = new pasta("wheat", 0.2, "circle", true);
var linguine = new pasta("wheat", 0.3, "oval", true);alert (spaghetti.width);
</script>