Hacker Newsnew | past | comments | ask | show | jobs | submit | nicolasme's commentslogin

going to do that right now, thank you c:


I'm very new on jQuery so i'll try to make it by myself, thank you :)


Done, it ended like this :

switch (typeof value) { case 'string': return 'str' ;

case 'number': return 'num';

case 'object': return 'obj';

  default: return "other";
} return value;

}

Thanks a lot :)


thank you! will check it out :)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: