Question 1
Question 2
What does high level mean in the context of javascript
Developers don't need to manage resources manually. Everything happens Automatically
The mechanism in js automatically removes unnecessary things from the memory
Functions are simply treated as variables
None of the above
Question 3
Question 4
Question 5
Question 6
Question 7
What will be the output of the following code:
let person = {
name: "Alex",
greet: function() {
console.log("Hello, " + this.name);
}
};
let greetFunc = person.greet;
greetFunc();
Hello, Alex
Hello, undefined
Error
None of the above
Question 8
What will be the output of the following code:
var geeks = {
name : "ABC",
printFunc: function(){
console.log(this.name);
}
}
var printFunc2 = geeks.printFunc.bind(geeks);
No output
ABC
Can’t say
None of the above
Question 9
What will be the output of the following code:
let geeks = {
name : "ABC",
printFunc: function() {
console.log(this.name);
}
}
let printFunc2 = geeks.printFunc;
printFunc2();
No output
ABC
Can’t say
None of the above
Question 10
What will be the output of the following code:
let geeks = {
name : "ABC",
printFunc: function() {
console.log(this.name);
}
}
let printFunc2 = geeks.printFunc;
printFunc2();
No output
ABC
Can’t say
None of the above
There are 77 questions to complete.