Fast Retailing interview question

difference between c++ and javascript