📜  4.6.1.运算符和操作数¶ - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:12.202000             🧑  作者: Mango

代码示例1
/*When a variable name appears in the place of an operand, it is 
replaced with the value that it refers to before the operation is 
performed. For example, suppose that we wanted to convert 645 minutes 
into hours. Division is denoted by the operator /.  */

let minutes = 645;
let hours = minutes / 60;
console.log(hours);

//10.75