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
๐ผ๐ผ แฅแแณแ แ 2015 แ แฒแฑ แแแต แ แฐแแ แ แฐแจแณแฝแ แ แฐแจแฐแ ๐ผ๐ผ
แแฎแ @code_fighters team
แแฎแ @code_fighters team
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
Day 9 : What kind of expression is โnew Point(2,3)โ?
Anonymous Quiz
35%
Constructor Calling Expression
18%
Invocation Expression
30%
Object Creation Expression
18%
Primary Expression
We are aiming to provide valuable content and always wanting to make things as easy as possible. We are very happy to form more than 10 thousand communities on TikTok big thanks for you ๐๐ป๐๐๐ป
#codefightersteam #milestone
#codefightersteam #milestone
๐5
Full-Stack Web Development with GraphQL and React
Second Edition
Year: 2022
Author: Sebastian Grebe
@code_fighters
#books
Second Edition
Year: 2022
Author: Sebastian Grebe
@code_fighters
#books
React Hooks in Action: With Suspense and Concurrent Mode
Author: John Larsen
Year: 2020
@code_fighters
#books
Author: John Larsen
Year: 2020
@code_fighters
#books
๐2