let number;
number = 10;
let number = 10;
if (condition) {
// code block
}
if (condition) {
// code block
} else {
// code block
}
for (let i = 0; i < 5; i++) {
// code block
}
while (condition) {
// code block
}
document.getElementById('myElement');
document.querySelector('.myClass');
element.addEventListener('click', function() {
// code block
});