var is the most common way of declaring a variable in JavaScript. Before ES6 was released, you should always use var to declare your variables.
確定! 回上一頁