Each question will involve an interesting knowledge point, you can try to think for a while before looking at the answer!
Q1: prototype???
What is the output, please?
Analysis And Answer
Look at the picture below, I think you will know the answer.
truetrue

Q2: What is the value of nums?
What is the output, please?
Analysis And Answer
First of all, I don’t think this question is looking at the programming ability of the candidate. He is examining whether candidates have eye problems. If you don’t notice the semicolon, you must think nums is [0, 1, 2, 3, 4].