Closed saghul closed 3 months ago
When lastN is first set to some truty value and then 0, it wouldn't be set because we relied on a "truthyness" check.
Check if the value is undefined so it can be set to 0.
When lastN is first set to some truty value and then 0, it wouldn't be set because we relied on a "truthyness" check.
Check if the value is undefined so it can be set to 0.