Run
Online Code Editor
array.length
Here, we are setting the length of an array.