Complete the code to declare a global variable named count with initial value 0.
let [1] = 0;
The keyword let declares a variable named count globally with initial value 0.
Complete the code to declare a global constant named MAX_USERS with value 100.
const [1] = 100;
let instead of const.The constant MAX_USERS is declared with const and assigned 100.
Fix the error in the code to declare a global variable username of type string.
let [1]: string = "guest";
: string.The variable name must be exactly username to match the intended global variable.
Fill both blanks to declare a global variable isActive of type boolean with initial value true.
let [1]: [2] = true;
The variable isActive is declared with type boolean and initial value true.
Fill all three blanks to declare a global constant API_URL of type string with value "https://api.example.com".
const [1]: [2] = [3];
The constant API_URL is declared as a string with the given URL value.