Message from JavaScript discussions

May 2019

— No one online?

— 

It makes total sense.
A function saves its context. In this case, number is available only by these functions.
When you use manager it modifies global variables that store the functions.
All of the four functions share the same context.
For loop is calling increase each loop, having no curly braces is the same as having a single line block of code.

— Set function is not using any declaration statement, so that assignation is looking for the closest variable in the scope. So no, any change made by set function will be visible to any of the other functions.

Message permanent page

— Guys! anyone have code for fetching whatsapp group image and name using group link? An API

— If anyone want projects from freelancer sites, let me know. i can outsource.

— Inbox

— Python?

— Python

— It's js

— Lol

— Thanks Christian

— It's not "seeing" the loop or the increase, it's just getting the current value from number, defined inside manager

Message permanent page