All React components must act like pure functions with respect to their props.
It never modifies its props.
All React components must act like pure functions with respect to their props.
It never modifies its props.
setInterval(tick, 1000);
Call tick() every 1000 ms.
[a, b, c] = lines[i];
ES6的解构赋值