Open DavidHoude opened 4 years ago
https://github.com/DavidHoude/homework/blob/cb2abfb41bcfa2a72cea182dca5ab1f9bf99ed33/processing/find-cpu.js#L23
This else() is pretty broad and would catch anything. This should be type checked to verify it's an integer before performing arithmetic operations.
resolved issue with https://github.com/DavidHoude/homework/pull/6
https://github.com/DavidHoude/homework/blob/cb2abfb41bcfa2a72cea182dca5ab1f9bf99ed33/processing/find-cpu.js#L23
This else() is pretty broad and would catch anything. This should be type checked to verify it's an integer before performing arithmetic operations.