if (condition) {
// do something if the condition is true
}SyntaxError: missing ) after condition / notebook
SyntaxError: missing ) after condition
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.