Complement Of A Number Leetcode Javascript Problems