Visit the YouTube API documentation discussed above and find the subscription list endpoint documentation. List 1 required parameter and 2 optional parameters for this endpoint. For each parameter listed, state the data type and give an example of the allowed values.
A variable scope determines when variables can be assessed at different parts of the code. A variable in the global scope can be accessed anywhere in the code. On the other hand a variable in a block scope can only be accessed in the function it was defined in.
A global variable can lead to unexpected outcomes due to different parts of the code trying to use the same variable name. For example if a global variable was named xyz, but then a function creates another variable named xyz without using let, or const it can lead to many hard to fix bugs.
Strict mode prevent people from defining variables without using let or const. This stops people from creating global variables within their functions.