Open okarem opened 4 years ago
https://github.com/FACN8/Pokemon/blob/7fd23752c34b9099b7ae0da919ce1112103e249f/src/components/battle_stats.js#L18 https://github.com/FACN8/Pokemon/blob/7fd23752c34b9099b7ae0da919ce1112103e249f/src/components/battle_stats.js#L21
use let instead of var
let
var
and the use of the ES5 'function' keyword instead of the newer arrow function '( ) => { }'
good suggestion, we will try to implement it now
https://github.com/FACN8/Pokemon/blob/7fd23752c34b9099b7ae0da919ce1112103e249f/src/components/battle_stats.js#L18 https://github.com/FACN8/Pokemon/blob/7fd23752c34b9099b7ae0da919ce1112103e249f/src/components/battle_stats.js#L21
use
let
instead ofvar