Login
/
Register
Test Yourself
Tests Taken
Billing
Go Back
JavaScript - Sample Interview Question
(Junior Level)
What will be the output of the following code?
var simpleArray = ['A','C','E','G','I','K'];
var anotherArray = simpleArray;
simpleArray = [];
console.log(anotherArray);
undefined
no output
["A", "C", "E", "G", "I", "K"]
[]
Tests in JavaScript for Juniors
Test Name
Difficulty
Time (minutes)
No. of Questions
JavaScript
Junior
20
10
Test Name
Difficulty
Time (Minutes)
No. of Questions