JavaScript program to find if a number is a Magic number or not ...

JavaScript program to find if a number is a Magic number or not ...