Multiple Choice Quizzes with Answer in English (Page: 350)
To update a table using a WHERE clause, we’d write: UPDATE table SET column='New Value' WHERE column IS NOT NULL
The following SQL query will get how many columns from the table? SELECT * FROM table
The DOM is the set of functionality that browsers provide to enable developers to access and manipulate webpages. What does DOM stand for?
const team = [ 'Mashrafi', 'Sakib', 'Mahmudullah', 'Mushfiq', 'Tamim', 'Rubel', 'Aftab', 'Razzaq', 'Rafiq' ]; const [captain, assistant, ...players] = team; consoloe.log(players);
What is the output of consoloe.log(players);
in your console?
const team = [ 'Mashrafi', 'Sakib', 'Mahmudullah', 'Mushfiq', 'Tamim', 'Rubel', 'Aftab', 'Razzaq', 'Rafiq' ]; const [captain, assistant, ...players] = team; consoloe.log(captain);
What is the output of consoloe.log(captain);
in your console?
Considering the following snap of code, what is the expected result?
const gotNumber = 46; if (gotNumber>45) { var division = 'Second Division'; } console.log(`Division is ${division} by number ${gotNumber}`);
Considering the following snap of code, what is the expected result?
const gotNumber = 46; if (gotNumber>45) { let division = 'Second Division'; } console.log(`Division is ${division} by number ${gotNumber}`);
Considering the following snap of code, what is the expected result?
let dogName = 'Tom'; let catName = 'Jerry'; [dogName, catName] = [catName, dogName]; console.log(`Dog name: ${dogName}`);
When used as a constructor, like new MyFunction()
, the value of this will be a brand new object provided by the JavaScript runtime. If we don’t explicitly return anything from that function, this will be considered its return value.
What does the below line do considering it as the first line in your javascript file:
(function(){ alert(this); })();