Script

noun

say it: “SKRIPT” /skrɪpt/

A file or block of JavaScript code that a browser or Node.js reads and runs from top to bottom.

What is Script in JavaScript?

Script — A file or block of JavaScript code that a browser or another runtime can execute.

const greeting = "Hello, JavaScript!";

In a sentence

  • “My script, receipt.js, prints a coffee order's total every time I run it.”

Level: Novice · More JavaScript terms at this level

Updated

In other subjects