Check if a given number is an integer or not ? || JavaScript

Published --