We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3a4d3d commit c520394Copy full SHA for c520394
readme.md
@@ -124,6 +124,27 @@ alert(run());
124
new String('a') instanceof String && 'b' instanceof String;
125
```
126
127
+* Does `a({}, 'val')` & `b({}, 'val')` will return the same?
128
+```js
129
+var a = function(obj, val) {
130
+ obj.val = {
131
+ a: 1,
132
+ b: 2,
133
+ }
134
+
135
+ return obj;
136
+}
137
138
139
+var b = function(obj, val) {
140
+ return obj.val = {
141
142
143
144
145
+```
146
147
148
## React interview questions
149
1. What happens when you execute `setState()` in the `render()` method?
150
1. What is the difference between 'smart and dummy' components?
0 commit comments