Stack Exchange
Stack Overflow на русском Stack Exchange
Questions
Tags
About
Stack Overflow на русском Stack Exchange
Public
Questions
Tags
About
Как работает конструкция (num, num, num)?
Asked
Apr 14 '17 at 11:34
Active
Apr 14 '17 at 11:34
Viewed
22 times
0
или так
var a = (1,4,5,7); console.log(a); // 7
Не понимаю, почему в итоге a = 7.
javascript
asked Apr 14 '17 at 11:34
Alexey Petlenko
1
Оператор запятая
–
Grundy
Apr 14 '17 at 11:35
Спасибо, крутая фича)))
–
Alexey Petlenko
Apr 14 '17 at 11:40
Но с ней надо быть аккуратным, а то
может быть и такое
–
Grundy
Apr 14 '17 at 11:42
0 Answers
0