Please enable JavaScript to use CodeHS

CodeHS Glossary


getWidth() JavaScript

JavaScript function that returns the width of the graphics canvas ![](https://cl.ly/1M2F1P3w390k/Screen%20Shot%202016-10-21%20at%206.03.45%20PM.png)