Problems with the Pagination using HTTPS in Node.JS

No

this is valid


let variable = 'wotsit';

function thing() {
    let variable = 'somethingelse';
    console.log('Function is', variable);
}

console.log('Outside of function', variable);
thing();
console.log('Outside of function', variable);

result

Outside of function wotsit
Function is somethingelse
Outside of function wotsit

image