function myFunction() {
alert("This is my function.");
}Solve common JavaScript problems / notebook
Solve common JavaScript problems
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.
myFunction();const myNumber = 0;const myObject = {
name: "Chris",
age: 38,
};