4.运算符的优先级
4.运算符的优先级var val = 'smtg';console.log('Value is ' + (val === 'smtg') ? 'Something' : 'Nothing'); //Something这个题最容易犯的错误是‘Value is Something’判断优先级最高的是括号内部的var val = 'smtg';console.log('Value is ' + (val === 'smtg') ? 'Something' : 'Nothing'); //Som