对象判空

dealObjectValue(obj){ for( let key in obj){ if(obj[key] == ""){ delete obj[key] } } return obj; }

Hold The Faith . Forever !
We can find a way .
Someday .
A path to a new world
And maybe
Maybe its just the begnning after all

author - Foraging Pawn

你可能感兴趣的:(对象判空)