By that logic, any language is fine. The problem is how do you follow up to keep them interested after some simple stdin/stdout exercises? Trying to accomplish anything interesting beyond solving leetcode questions in JS requires going into the npm ecosystem.