function?Background(url,?size){
????b.style.background?=?url=='w'???'#888786?url(/images/123/123.jpg)?no-repeat'?:?'#888786?url(/images/qwe/qwe.png)?no-repeat?50%?-20%';
????b.style.backgroundSize?=?size;
????return?true;
}? ? ? ? Primitive value returned from constructor will be lost when called with
? ?'new' 更少...
? ?(Ctrl+F1)Checks that function recognized as constructor does not return primitive
? ? ?values. When called with new , this value will be lost and object
? ? ?will be returned instead. To avoid warnings, you can explicitly specify
? ? ?function's return type with @return tag ? ??從構造函數返回原始值將丟失時,稱為'新'更少…(Ctrl?+?f1)
檢查作為構造函數確認的函數不返回原始值。當調用新的,這個值將丟失,對象將返回。為了避免警告,您可以顯式地指定函數返回類型英文翻譯我看不懂。。。
一個js在編輯器上的報錯
hhhzihao2
2017-03-28 10:08:19