Sep 6, 2018 · 1 min read
You don’t need to iterate through the object to clean it, just assign it to the empty object. For example : var t = {1:”A”,2:”B”,3:”C”}, to clean all t ={};
Or I wrong?
You don’t need to iterate through the object to clean it, just assign it to the empty object. For example : var t = {1:”A”,2:”B”,3:”C”}, to clean all t ={};
Or I wrong?
Written by