Posts by Raymesson Ribeiro • 31 points
1 post
-
3
votes3
answers4406
viewsA: Check empty object Angularjs
The given Function as fix does not work properly, this is because it does (obj.prop != ""), and the right thing would be (obj[prop] != ""). The Function that checks if any of the items of the object…