It's me again. I'm checking if objects containg value with Object.keys like below:
Object.keys(obj).length
Code (markup):
0
0
0
3
0
0
Code (markup):
I do the switch and it isn't working.
var flag;
switch (Object.keys(obj).length) {
case 3:...
Code (markup):
from JavaScript https://ift.tt/2SlYycj
via IFTTT
0 Comments