isFinite() function

Report a typo

You should calculate the sum of all values in the data array and check that it is a finite number. Output the result of the check to the console.

Write a program in JavaScript
let data = [5, -13, 3, 21, 0, 9]
___

Create a free account to access the full topic