LeetCode has began a 30 day JavaScript challenge. Today I solved the first one, which was a trivial problem where you create a function which returns another function which returns Hello World. The problem itself is simple, but it touches on important concepts like closure. When a function is created, it has access to the variables declared around it. This is called a closure, and is similar in concept to scope.
Subscribe to:
Post Comments (Atom)
190: Sablier
The CodeHawks platform has an upcoming audit on the Sablier protocol, so I decided to read through the docs and familiarize myself with the...
-
The CodeHawks platform has an upcoming audit on the Sablier protocol, so I decided to read through the docs and familiarize myself with the...
-
The ZKasino project recently exit scammed over 33 million dollars worth of Ethereum. he recent debacle surrounding ZKasino offers valuable...
-
In addition to its native SDK, Hedera also supports smart contracts in a platform compatible with the Ethereum Virtual Machine. This allows ...
No comments:
Post a Comment