Please enable JavaScript to use CodeHS

CodeHS Glossary


prefix increment General

The increment operator written before a variable (++x). The variable is increased by 1 first, and the expression evaluates to the new value.