['left=',(screen.width-630)/2,',top=',(screen.height-500)/2].join('')//"left=645,top=290"居然能運(yùn)行正確,難道不應(yīng)該是這樣寫嗎?['left='+(screen.width-630)/2+',top='+(screen.height-500)/2].join('')
js語句中逗號為什么能這樣用?
慕的地6264312
2018-08-13 11:11:18