Speed of light
Return true if the given number is equivalent to 299,792,458.
Otherwise false.
Sample Code:
function lightSpeed(num) {
// Enter your logic here...
}
Examples:
Input: 299792458
Output: true
Explanation: 299,792,458 m/s is the speed of light, according to Google.
Input: 323232
Output: false
Explanation: 299,792,458 m/s is the speed of light, according to Google.