判断 条件成立做什么?不成立做什么? if/else if/else if三元运算符switch case 1、if/else if/else if 2、三元运算符 3、switch case 循环 重复做某些事情就是循环 for循环 for in循环 for of循环(ES6新增)while循环do while循环