how to make my own boolean js code example Example: javascript can a var be a boolean var YES = new Boolean(true);