1- // printing hello world in console
1+ // IDEA: printing hello world in console
22
3- // console.log() can print something on console
3+ // NOTE: 'filter method' will filter out value according to the give condition
4+
5+ // BUG: 1. JavaScript is a Oops language
6+ // TODO:
7+ // FIXME:
8+ // BUG: Variables
9+ // TODO: console.log() can print something on console
410
511console . log ( "Hello World" ) ;
612console . log ( "Hello, World" ) ;
713
8- // Single Line Comment: It is represented by // (double forward slash)
9- // Multi-Line Comment: Slash represents it with asterisk symbol as /* write comment here */
14+ // NOTE: Single Line Comment: It is represented by // (double forward slash)
15+ // NOTE: Multi-Line Comment: Slash represents it with asterisk symbol as /* write comment here */
1016
11- // String Important Interview Question?
17+ // HACK: String Important Interview Question?
1218
13- // 1) What is the output of 10+20+"30" in JavaScript?
14- // => 3030 because 10+20 will be 30. If there is numeric value before
19+ // INFO: 1) What is the output of 10+20+"30" in JavaScript?
20+ // => 3030 because 10+20 will be 30. If there is numeric value before
1521// and after +, it treats as binary + (arithmetic operator).
1622
17- // 2) What is the output of "10"+20+30 in JavaScript?
18- // => 102030 because after a string all the + will be treated as
19- // string concatenation operator (not binary +).
23+ // INFO: 2) What is the output of "10"+20+30 in JavaScript?
24+ // => 102030 because after a string all the + will be treated as
25+ // string concatenation operator (not binary +).
0 commit comments