0
Why this question has ans error please explain
const obj ={one :1,two:2}; let {one:one,two:two} = obj; console.log(one);
10 Answers
+ 1
please include your code with the code play ground because the question looks incomplete without it
+ 1
Thanks...
+ 1
Can you share the error message?
Because SoloLearn compiles web code with browser of user's device, it often happens that some ES6 syntax is not compatible with user device.
0
Sorry for misstype i have edited question...
0
~ swim ~ no actually i missed question.
Now I have corrected the questions bt still not able to understand it's ans
0
~ swim ~ its ans is error...
I found this question in deconstruction tutorial.