sometimes javascript is so bad that the problem can be illustrated with a simple stackoverflow question https://stackoverflow.com/questions/679915/how-do-i-test-for-an-empty-javascript-object
@CobaltVelvet
I knew a kid in college who was the essence of the third choice but in C++