= (assignment)
Assigns a value to a variable.
Syntax
name = value
Description
Values are assigned with =, and the type is inferred from the value. The value can be changed later. Use typeof(x) to query the type.
Example
Loading editor…
Expected output
Julia 20
When to use?
General-purpose variable definition.