A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/javascript/operators/assignment below:

assignment ยท WebPlatform Docs

assignment Summary

The assignment operator takes the value of the right operand and assigns it to the left operand.

Syntax
result = expression;
result
Any variable.
expression
Any expression that returns a value.
Examples
var x;
x = 5;
Remarks

The = operator behaves like other operators, so expressions that contain it have a value. This means that you can chain assignment operators as follows: j = k = l = 0. In this case j , k , and l equal zero.

Attributions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4