+ 2
Why console.log(x) outputs undefine?đ±
4 Answers
+ 3
Simba has answered ur qs but I just wanna add something,
if u wanna destructure name out of { name: "John" }
but you wanna rename it to fullname u would do it like this
const { name: fullname } = obj
+ 7
Because a != x? đ€
+ 3
Tnx a lotđ
+ 2
Oh i seeđđ€Łđ€Ł