-
報錯信息: Missing space before function parentheses
意思是在方法名和刮號之間需要有一格空格。
-
報錯信息:Expected error to be handled
這是因爲回調函數裏面的參數error沒有運用到,所以可以不設置參數,或者在回調函數內console.log(error)
3. Newline required at end of file but not found
在最後一行加一個回車
4. Expected error to be handled
error沒有用到,不用聲明
6. Requires a space before ‘}’
需要在false和}中間加一個空格