Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9d29277

Browse files
remove scroll to top from md file
Signed-off-by: Amit Amrutiya <amitamrutiya2210@gmail.com>
1 parent e6cb57d commit 9d29277

File tree

1 file changed

+0
-78
lines changed

1 file changed

+0
-78
lines changed

‎question-answer/output-based-question-1.md‎

Lines changed: 0 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ console.log(arr);
1414
</ul>
1515
</details>
1616

17-
**[:top: Scroll to Top](#javascript-output-based-interview-questions)**
18-
1917
**2. What will be the output**
2018
```js
2119
x = 10;
@@ -30,8 +28,6 @@ var x;
3028
</ul>
3129
</details>
3230

33-
**[:top: Scroll to Top](#javascript-output-based-interview-questions)**
34-
3531
**3. What will be the output**
3632
```js
3733
let a = { x: 1, y: 2 }
@@ -48,8 +44,6 @@ console.log(b);
4844
</ul>
4945
</details>
5046

51-
**[:top: Scroll to Top](#javascript-output-based-interview-questions)**
52-
5347
**4. What will be the output**
5448
```js
5549
for(var i = 0; i < 10; i++){
@@ -66,8 +60,6 @@ for(var i = 0; i < 10; i++){
6660
</ul>
6761
</details>
6862

69-
**[:top: Scroll to Top](#javascript-output-based-interview-questions)**
70-
7163
**5. What will be the output**
7264
```js
7365
for(let i = 0; i < 10; i++){
@@ -84,8 +76,6 @@ for(let i = 0; i < 10; i++){
8476
</ul>
8577
</details>
8678

87-
**[:top: Scroll to Top](#javascript-output-based-interview-questions)**
88-
8979
**6. What will be the output**
9080
```js
9181
function hello() {
@@ -105,8 +95,6 @@ hello();
10595
</ul>
10696
</details>
10797

108-
**[:top: Scroll to Top](#javascript-output-based-interview-questions)**
109-
11098
**7. What will be the output**
11199
```js
112100
let f = "8";
@@ -121,8 +109,6 @@ console.log((+f)+a+1);
121109
</ul>
122110
</details>
123111

124-
**[:top: Scroll to Top](#javascript-output-based-interview-questions)**
125-
126112
**8. What will be the output**
127113
```js
128114
let a = 10;
@@ -140,8 +126,6 @@ console.log(a, "outside");
140126
</ul>
141127
</details>
142128

143-
**[:top: Scroll to Top](#javascript-output-based-interview-questions)**
144-
145129
**9. What will be the output**
146130
```js
147131
var a = "xyz";
@@ -156,8 +140,6 @@ console.log(a)
156140
</ul>
157141
</details>
158142

159-
**[:top: Scroll to Top](#javascript-output-based-interview-questions)**
160-
161143
**10. What will be the output**
162144
```js
163145
const arr1 = [1, 2, 3, 4];
@@ -173,8 +155,6 @@ console.log(result);
173155
</ul>
174156
</details>
175157

176-
**[:top: Scroll to Top](#javascript-output-based-interview-questions)**
177-
178158
**11. What will be the output**
179159
```js
180160
const person1 = { name: 'xyz', age: 21 };
@@ -189,8 +169,6 @@ console.log(person2);
189169
</ul>
190170
</details>
191171

192-
**[:top: Scroll to Top](#javascript-output-based-interview-questions)**
193-
194172
**12. What will be the output**
195173
```js
196174
console.log(5 < 6 < 7);
@@ -203,8 +181,6 @@ console.log(5 < 6 < 7);
203181
</ul>
204182
</details>
205183

206-
**[:top: Scroll to Top](#javascript-output-based-interview-questions)**
207-
208184
**13. What will be the output**
209185
```js
210186
console.log(7 > 6 > 5);
@@ -217,8 +193,6 @@ console.log(7 > 6 > 5);
217193
</ul>
218194
</details>
219195

220-
**[:top: Scroll to Top](#javascript-output-based-interview-questions)**
221-
222196
**14. What will be the output**
223197
```js
224198
console.log(0 == false);
@@ -232,8 +206,6 @@ console.log(1 == true);
232206
</ul>
233207
</details>
234208

235-
**[:top: Scroll to Top](#javascript-output-based-interview-questions)**
236-
237209
**15. What will be the output**
238210
```js
239211
console.log([11, 2, 31] + [4, 5, 6]);
@@ -246,8 +218,6 @@ console.log([11, 2, 31] + [4, 5, 6]);
246218
</ul>
247219
</details>
248220

249-
**[:top: Scroll to Top](#javascript-output-based-interview-questions)**
250-
251221
**16. What will be the output**
252222
```js
253223
console.log({} == {});
@@ -261,8 +231,6 @@ console.log({} === {});
261231
</ul>
262232
</details>
263233

264-
**[:top: Scroll to Top](#javascript-output-based-interview-questions)**
265-
266234
**17. What will be the output**
267235
```js
268236
let x = 5;
@@ -278,8 +246,6 @@ console.log(x)
278246
</ul>
279247
</details>
280248

281-
**[:top: Scroll to Top](#javascript-output-based-interview-questions)**
282-
283249
**18. What will be the output**
284250
```js
285251
let x = 5;
@@ -295,8 +261,6 @@ console.log(x)
295261
</ul>
296262
</details>
297263

298-
**[:top: Scroll to Top](#javascript-output-based-interview-questions)**
299-
300264
**19. What will be the output**
301265
```js
302266
console.log('apple'.split(''));
@@ -309,8 +273,6 @@ console.log('apple'.split(''));
309273
</ul>
310274
</details>
311275

312-
**[:top: Scroll to Top](#javascript-output-based-interview-questions)**
313-
314276
**20. What will be the output**
315277
```js
316278
const arr = [2,3,5,2,8,10,5];
@@ -324,8 +286,6 @@ console.log(arr.indexOf(5))
324286
</ul>
325287
</details>
326288

327-
**[:top: Scroll to Top](#javascript-output-based-interview-questions)**
328-
329289
**21. What will be the output**
330290
```js
331291
const array = [8, 18, 28, 38];
@@ -341,8 +301,6 @@ console.log(result);
341301
</ul>
342302
</details>
343303

344-
**[:top: Scroll to Top](#javascript-output-based-interview-questions)**
345-
346304
**22. What will be the output**
347305
```js
348306
function checkValue(value){
@@ -359,8 +317,6 @@ checkValue([1,2,3]);
359317
</ul>
360318
</details>
361319

362-
**[:top: Scroll to Top](#javascript-output-based-interview-questions)**
363-
364320
**23. What will be the output**
365321
```js
366322
function sum(a=5, b=7){
@@ -376,8 +332,6 @@ console.log(sum(undefined, 20));
376332
</ul>
377333
</details>
378334

379-
**[:top: Scroll to Top](#javascript-output-based-interview-questions)**
380-
381335
**24. What will be the output**
382336
```js
383337
console.log(10 + "5");
@@ -391,8 +345,6 @@ console.log("5" + 10);
391345
</ul>
392346
</details>
393347

394-
**[:top: Scroll to Top](#javascript-output-based-interview-questions)**
395-
396348
**25. What will be the output**
397349
```js
398350
console.log(10 - "5");
@@ -406,8 +358,6 @@ console.log("5" - 10);
406358
</ul>
407359
</details>
408360

409-
**[:top: Scroll to Top](#javascript-output-based-interview-questions)**
410-
411361
**26. What will be the output**
412362
```js
413363
console.log(printName());
@@ -423,8 +373,6 @@ function printName(){
423373
</ul>
424374
</details>
425375

426-
**[:top: Scroll to Top](#javascript-output-based-interview-questions)**
427-
428376

429377
**27. What will be the output**
430378
```js
@@ -441,8 +389,6 @@ const printName = () => {
441389
</ul>
442390
</details>
443391

444-
**[:top: Scroll to Top](#javascript-output-based-interview-questions)**
445-
446392
**28. What will be the output (shallow copy of an object)**
447393
```js
448394
const userDetails = {
@@ -475,8 +421,6 @@ console.log(cloneUserDetails.address.city);
475421
</ul>
476422
</details>
477423

478-
**[:top: Scroll to Top](#javascript-output-based-interview-questions)**
479-
480424
**29. What will be the output**
481425
```js
482426
function hello(){
@@ -496,8 +440,6 @@ hello();
496440
</ul>
497441
</details>
498442

499-
**[:top: Scroll to Top](#javascript-output-based-interview-questions)**
500-
501443

502444
**30. What will be the output**
503445
```js
@@ -517,8 +459,6 @@ console.log(arr1 == arr2);
517459
</ul>
518460
</details>
519461

520-
**[:top: Scroll to Top](#javascript-output-based-interview-questions)**
521-
522462
**31. What will be the output**
523463
```js
524464
const a = {x : 1};
@@ -535,8 +475,6 @@ console.log(a.x === b.x)
535475
</ul>
536476
</details>
537477

538-
**[:top: Scroll to Top](#javascript-output-based-interview-questions)**
539-
540478
**32. What will be the output**
541479
```js
542480
const arr = [10, -1, 2];
@@ -551,8 +489,6 @@ console.log(arr);
551489
</ul>
552490
</details>
553491

554-
**[:top: Scroll to Top](#javascript-output-based-interview-questions)**
555-
556492
**33. What will be the output**
557493
```js
558494
const arr = [11, 0, '', false, 2, 1];
@@ -567,8 +503,6 @@ console.log(filtered);
567503
</ul>
568504
</details>
569505

570-
**[:top: Scroll to Top](#javascript-output-based-interview-questions)**
571-
572506
**34. What will be the output**
573507
```js
574508
var x = 0;
@@ -588,8 +522,6 @@ if(y){
588522
</ul>
589523
</details>
590524

591-
**[:top: Scroll to Top](#javascript-output-based-interview-questions)**
592-
593525
**35. What will be the output**
594526
```js
595527
const obj = {
@@ -607,8 +539,6 @@ console.log(var1, var2);
607539
</ul>
608540
</details>
609541

610-
**[:top: Scroll to Top](#javascript-output-based-interview-questions)**
611-
612542
**36. What will be the output**
613543
```js
614544
const user = {
@@ -628,8 +558,6 @@ console.log(name);
628558
</ul>
629559
</details>
630560

631-
**[:top: Scroll to Top](#javascript-output-based-interview-questions)**
632-
633561
**37. What will be the output**
634562
```js
635563
const person = {
@@ -646,8 +574,6 @@ console.log(lastName);
646574
</ul>
647575
</details>
648576

649-
**[:top: Scroll to Top](#javascript-output-based-interview-questions)**
650-
651577
**38. What will be the output**
652578
```js
653579
const person = {
@@ -664,8 +590,6 @@ console.log(firstName);
664590
</ul>
665591
</details>
666592

667-
**[:top: Scroll to Top](#javascript-output-based-interview-questions)**
668-
669593
**39. What will be the output**
670594
```js
671595
var a = 10;
@@ -680,8 +604,6 @@ console.log(a)
680604
</ul>
681605
</details>
682606

683-
**[:top: Scroll to Top](#javascript-output-based-interview-questions)**
684-
685607
**40. What will be the output**
686608
```js
687609
const arr = ["A","B","C","D","E"]

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /