You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+15-2Lines changed: 15 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,7 @@ I hope my experience and the experiences of other developers will help you get b
29
29
1. How big was your team?
30
30
1. Have you ever worked in [Agile, Scrum or Kanban](https://www.smartsheet.com/agile-vs-scrum-vs-waterfall-vs-kanban) environments?
31
31
1. Which developers do you know in the Front End community?
32
+
1. How do you develop yourself?
32
33
1. What have you heard about the 'Gangs of four'?
33
34
1. What are the most common types of web attacks? - [@answer--blog.sucuri.net](https://blog.sucuri.net/2014/11/most-common-attacks-affecting-todays-websites.html)
34
35
1. What is the difference between imperative and declarative programming in JS? - [@answer--redotheweb.com](http://www.redotheweb.com/2015/09/18/declarative-imperative-js.html)
@@ -44,12 +45,13 @@ I hope my experience and the experiences of other developers will help you get b
44
45
quehub.io/) or Browserify in your projects?
45
46
1. What do you know about "60fps"? How can you achieve it? - [@answer--github](https://github.com/vasanthk/browser-rendering-optimization)
46
47
1. What is the difference between layout, painting and compositing? - [@answer--google](https://developers.google.com/web/fundamentals/performance/rendering/?hl=en)
48
+
1. What is Web Components? - [@doc--mdn](https://developer.mozilla.org/en-US/docs/Web/Web_Components)
47
49
48
50
## HTML Interview Questions
49
51
1. Could you list major HTML5 tags? - [@doc--mdn](https://developer.mozilla.org/en-US/docs/Web/HTML/Element)
50
52
1. What does an 'optional' closing tag mean? - [@doc--w3](https://www.w3.org/TR/REC-html40/index/elements.html)
51
53
1. When and how to preload resources? - [@answer--medium](https://medium.com/reloading/preload-prefetch-and-priorities-in-chrome-776165961bbf)
52
-
1. What is the difference between id and class?
54
+
1. What is the difference between id and class? - [@answer--css-tricks](https://css-tricks.com/the-difference-between-id-and-class/)
53
55
54
56
## CSS Interview Questions
55
57
1. What is the difference between 'mobile first' and 'desktop first' - [@answer--codemyviews.com](https://codemyviews.com/blog/mobilefirst)?
@@ -65,6 +67,8 @@ I hope my experience and the experiences of other developers will help you get b
65
67
1. What is the type of NaN? How to check if a value is NaN?
66
68
1. What the reason that `window.window === window` return true? - [@doc--mdn](https://developer.mozilla.org/pl/docs/Web/API/Window/window)
67
69
1. What is the outcome of the JavaScript calculation? `1/0 = ?`
70
+
1. What is hoisting? [@doc--mdn](https://developer.mozilla.org/en-US/docs/Glossary/Hoisting)
71
+
1. What is the difference between bubbling and capturing? - [@answer--stackoverflow](https://stackoverflow.com/a/4616720/5513804)
68
72
69
73
#### Middle candidate
70
74
1. What does `this` refer to? - [@answer--javascriptissexy](http://javascriptissexy.com/understand-javascripts-this-with-clarity-and-master-it/)
@@ -74,11 +78,13 @@ I hope my experience and the experiences of other developers will help you get b
74
78
1. What is [`Window.postMessage()`](https://davidwalsh.name/window-postmessage) and where it can be used? - [@doc--mdn](https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage)
75
79
1. Is there any difference between Promises and callbacks? Which is better? - [@answer-callback--callbackhell.com](http://callbackhell.com/),
76
80
1. What is recursion? When is the use of recursion useful in Javascript? - [@answer--medium](https://medium.com/@dis_is_patrick/practical-uses-for-recursive-javascript-b8f142552f8b)
81
+
1. What do you hear about DRY, KISS, YAGNI? - [@answer-thefullstack.xyz](https://thefullstack.xyz/dry-yagni-kiss-tdd-soc-bdfu)
77
82
78
83
#### Senior candidate
79
84
1. What patterns do you know and successfully use in JavaScript?
80
85
1. What is the difference between Deferred and Promise objects? Where is Deferred object used?
81
86
1. What is the problem throttling and debouncing are resolved? What is the core difference between them? - [@answer--medium](https://medium.com/@_jh3y/throttling-and-debouncing-in-javascript-b01cad5c8edf)
87
+
1. What is SOLID? Using some example talk about
82
88
83
89
## Javascript Coding Questions
84
90
* Write a `pipefy` function where a string received is returned, but with the `|` character between each character. Make it possible to execute function in this way: `'javascript'.pipefy()`. - [@code-answer](https://jsfiddle.net/thisman/6ynaf3ot/)
@@ -137,14 +143,21 @@ var a = function(obj, val) {
137
143
return obj;
138
144
}
139
145
140
-
141
146
varb=function(obj, val) {
142
147
returnobj.val= {
143
148
a:1,
144
149
b:2,
145
150
}
146
151
}
147
152
```
153
+
* What would be the output of this code below?
154
+
```js
155
+
(function () {
156
+
console.log(a, b);
157
+
var a =1;
158
+
constb=2;
159
+
}())
160
+
```
148
161
149
162
## React interview questions
150
163
1. What happens when you execute `setState()` in the `render()` method?
0 commit comments