This article is part of the Getting Started series

Unlike the variables, the constants are elements in the script that can not be changed. Like the variables, they can contain:

  • numbers
  • characters, letters
  • character strings
  • number sets
  • character sets

Trying to edit the constants will give an error, because the constants' contents can not be edited.


The constants are declared as it follows:

const name=value;

For example:

const a=5;

See alsoEdit

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.