You may wish to use triple equals ```===``` here and other places to avoid type coercion. May not be a big deal here but in general it's best practice to use ```===```.