The Boolean object represents two values either “true” or “false”. new Boolean(value); If value parameter is omitted, 0, -0, null, false, NaN, undefined, or the empty string (“”), the object has an initial value of false due to automatic type coercion. Here’s a simple test for the JavaScript boolean object, here’s the HTML anchor tag […]
Categories