Click in order · JavaScript and TypeScript course · Module 1: JavaScript Basics
JavaScript Program Structure
Arrange the program: comment, constant, function definition and its call:
Items to click
- console.log('DNA sequencing started');
- // Program initialization
- }
- const labName = 'InGen Genetics';
- startSequencing();
- function startSequencing() {
Show the answer
Correct order:
- // Program initialization
- const labName = 'InGen Genetics';
- function startSequencing() {
- console.log('DNA sequencing started');
- }
- startSequencing();