Content deleted Content added
Afitterling (talk | contribs) const in Javascript does not mean constant. As the variable is still mutable for complex types. Tags: Reverted Visual edit |
Reverted good faith edits by Afitterling (talk): This is already mentioned in section 'Other languages' (does not need to be in the lead section) |
||
Line 1:
{{short description|Type qualifier}}
{{lowercase title}}
In the [[C (programming language)|C]], [[C++]], [[D (programming language)|D]], [[JavaScript]] and [[Julia (programming language)|Julia]] [[programming language]]s, '''const''' is a [[type qualifier]]:{{efn|In D the term ''type constructor'' is used instead of ''type qualifier,'' by analogy with [[Constructor (object-oriented programming)|constructors in object-oriented programming]].}} a [[Keyword (computer programming)|keyword]] applied to a [[data type]] that indicates that the data is read only
== Introduction ==
|