Analyze the code snippet. Identify which variables are local and which are global:
let name; let age; { let profession; { let height; let weight; }
- name : global
- profession : local
- age : global
- height : local
- weight : local
More Questions: JavaScript Essentials 1 – JSE1: Module 2 Test
Please login or Register to submit your answer