JavaScript statements make things happen. Every JavaScript program can be broken down into a series of statements, with each statement like an English sentence, except in JavaScript you end a sentence with a semicolon instead of a period. In fact, JavaScript is made up of sentences, phrases, and words. The sentences are statements, the phrases are expressions in which the elements of the action can be expressed and put together to make a statement, and the words are JavaScript operators, which are used to act upon the data passed to them.
Statement
JavaScript statements make things happen. Every JavaScript program can be broken down into a series of statements, with each statement like an English sentence, except in JavaScript you end a sentence with a semicolon instead of a period. In fact, JavaScript is made up of sentences, phrases, and words. The sentences are statements, the phrases […]