Fast Retailing Interview Question

difference between c++ and javascript