Safe Integer Lab

Easy
5
90.9% Acceptance

In this lab, you will create a function called isNumberSafe, which checks if a given number is safe or not to use as an integer in JavaScript. This function should take in a single parameter (a number) and return a boolean value indicating the safety of the number. Use the Number.isSafeInteger() method to perform this validation. Export the isNumberSafe function using ESM (ECMAScript Modules) syntax.