we have been off for a while sorry for that we are preparing more to help you as much as possible eski tell us in the comment what resources you need or any suggestions.
Thanks in advance
Thanks in advance
Javascript
Day 1 : Which type is JavaScript language
Day 1 : Which type is JavaScript language
Anonymous Quiz
46%
Object-Oriented
34%
High-level
10%
Object-Based
9%
Assembly-language
var grade='D';
var result;
switch(grade)
{
case'A':
result+="10";
case'B':
result+=" 9";
case'C':
result+=" 8";
case 'D'
result+=" 6";
default:
result+=" 0";
}
document.write(result);❤1
Day 2 : Which of the following is the correct output for the above JavaScript code:
Anonymous Quiz
6%
10
56%
6
19%
33
19%
0
👍1
Day 3 : Which of the following function of the String object returns the character in the string starting at the specified position via the specified number of characters?
Anonymous Quiz
15%
slice()
17%
split()
49%
substr()
18%
search()
👍1
function display1(option)
{
return(option ? "true" : "false");
}
var ans=true;
console.log(display1(ans));Day 4 : Which of the following is the correct output for the above JavaScript code:
Anonymous Quiz
13%
False
46%
True
24%
Compilation error
18%
Runtime error
Day 5: Which one of the following symbol is used for creating comments in the javascript:
Anonymous Quiz
19%
\\
40%
/* */
31%
//
10%
\* */
<script type="text/javascript">
var a = 5 + "9";
document.write(a);
</script>Day 6 : What will be the output of the above code snippet?
Anonymous Quiz
18%
compilation error
17%
14
28%
Run time error
36%
59
❤1👏1
Day 7 : Which JavaScript method is used to write on browser's console?
Anonymous Quiz
13%
console.write()
14%
console.output()
54%
console.log()
19%
console.writeHTML()
Day 8: What is the main difference between var and let keywords in JavaScript?
Anonymous Quiz
23%
var defines a variable while let defines a constant
38%
var defined function scoped variable while let define block scoped variable
20%
variable declared with var can be changed while variable declared with let cannot be changed
20%
Both declares a variable globally