JSFiddle - React, Tailwind, and code Playground by pierian_design August 22, 2019 JavaScript var arr = [undefined, 1, 3, 4]; alert(arr.length);