0

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

deceze
  • 510,633
  • 85
  • 743
  • 889
kafka007
  • 11
  • 2

0 Answers0