options.async=options.async.toLowerCase()=='false'?false:true;
在phpstorm有个报错
'options.async.toLowerCase()=='false'?false:true' can be simplified to 'options.async.toLowerCase()!='false'' 更少... (Ctrl+F1)
This inspection reports any instances of JavaScript conditional expressions of the form condition?true:false or condition?false:true. These expressions may be safely simplified to condition or !condition , respectively.
所以随便问
习惯受伤
相关分类