我看到了很多:
var something = (is_something_true()) ? 3 : 4;
在javascript中.这比这快吗?
var something; if (is_something_true()) { something = 3; } else { something = 4; }
还是为了方便起见而简洁明了?