| Game-Tic-Tac Toe | JavaScript question answers 101-120 | |
JavaScript Question Answers - 81-100 |
confirm("message")
Number.prototype.constructor
continue;
Math.cos(x)
window.open("url","name","features")
debugger;
window.status
while (condition) { ... }
window.document
Math.E
- encodeURI(): Encodes a URI by escaping special characters.
- decodeURI(): Decodes an encoded URI back to normal form.
Escape characters represent special characters in strings, e.g., \\n (newline), \\t (tab), \\\" (quote).
Event bubbling is the process where an event triggered on a child element propagates up to its parent elements in the DOM hierarchy.
Math.exp(x)
document.write("Hello".fixed());
Math.floor(x)
window.focus()
- for
- while
- do...while
- for...in
- for...of
- Primitive: Number, String, Boolean, Undefined, Null, Symbol, BigInt
- Non-primitive: Object
document.write("Hello".fontcolor("red"));
| Game-Tic-Tac Toe | JavaScript question answers 101-120 | |