Thread:Pecoes/@comment-4674838-20120427024735/@comment-3562424-20120428184430

@Math, you can do object oriented programming- it's just a bit harder. I suggest not doing it for a bit as it can be pretty confusing. As for variable type- you can use typeof eg: if (typeof x === boolean) { alert('Cheese') }; Good luck.