Assignment

noun

say it: “uh-SINE-ment” /əˈsaɪnmənt/

Putting a value into a variable with a single equals sign, as in score = 10, read "score gets 10".

What is Assignment in JavaScript?

Assignment — Storing a value in a variable with a single =.

let score = 10;
score = score + 5;

In a sentence

  • “After the bonus round, the assignment score = score + 50 replaced the old score with the new one.”

Level: Novice · More JavaScript terms at this level

Updated

In other subjects