Let’s say I have an object obj with a function f1 that accept two parameters a and b. The function is called as follows: Now I want to make f1 accessible without calling obj as follows: Is this possible? If so, how may I achieve this? Edit: If yes, is there a way to make all functions in the object
Tag: global
are static variables “thread safe” in javascript
I am making a node.js web server that handles large payloads, computations and copies, for example I need to with a deep copy of a large object: now this works fine and with every request context I can create 1 new deep copy and work with that in the class. But my class is becoming big and unstructured so I