冒号和等号的问题 ( 积分: 100 )

  • 主题发起人 linuxping
  • 开始时间
L

linuxping

Unregistered / Unconfirmed
GUEST, unregistred user!
javascript中:
var Prototype = {
Version: '1.5.0',
BrowserFeatures: {
XPath: !!document.evaluate
},
ScriptFragment: '(?:<script.*?>)((/n|/r|.)*?)(?:<//script>)',
emptyFunction: function() {},
K: function(x) { return x }
}

var Prototype = {
Version='1.5.0',
BrowserFeatures={
XPath= !!document.evaluate
},
ScriptFragment='(?:<script.*?>)((/n|/r|.)*?)(?:<//script>)',
emptyFunction=function() {},
K= function(x) { return x }
}
有什么区别呢?
 
难道等于号的你也行? 你可测试成功过?
 
接受答案了.
 

Similar threads

S
回复
0
查看
3K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
2K
SUNSTONE的Delphi笔记
S
I
回复
0
查看
564
import
I
I
回复
0
查看
866
import
I
顶部