javascript initializing a const before definition code example Example: js define constant by element id Click to copyconst elem = document.getElementById('elementID');