Assignment – Javascript or C++