let a=1
let b = 44
const obj = {a: 2,b: 444,c: 4444}
({a, b}=obj )
console.log(a,b)
Why this is not working?
I cant mutate variable.can someone help me out here.This code is bugginng me since 3 days
let a=1
let b = 44
const obj = {a: 2,b: 444,c: 4444}
({a, b}=obj )
console.log(a,b)
Why this is not working?
I cant mutate variable.can someone help me out here.This code is bugginng me since 3 days