https://tutorial.eyehunts.com/js/javascript-check-if-var-is-empty-length-and-equality-operator/
JavaScript check if var is empty | Length and equality operator