Explain the basics of JavaScript and provide an example of how you would use variables and functions in a simple script?
Sigiloso
JavaScript is a versatile scripting language primarily used for client-side web development. Variables in JavaScript are containers for storing data.Functions are reusable blocks of code