Missing_Number_Problem

In this code, we have take the n and n-1 spaced elements as input. We check if the next consecutive element is present of the given element by a for loop. Incase the last element is missing, we simply return the n value taken as input. Javascript used for coding. The assignment code is in "soltion.js" file.