JavaScript
let x=10;
console.log(x);How value is stored using =
The assignment operator = stores a value inside a variable.
Putting a book inside a labeled box is like assigning a value to a variable.
Do not confuse = with ==. One stores; the other compares.
let x=10;
console.log(x);int x=10;
cout<<x;x=10
print(x)<?php
$x=10;
echo $x;
?>Read x = 10 as x gets 10.