mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-25 23:56:32 +02:00
Fix hoisting example
This commit is contained in:
@@ -435,7 +435,7 @@ function increment(uint x) view returns (uint x) {
|
||||
// Functions hoisted - and can assign a function to a variable
|
||||
function a() {
|
||||
var z = b;
|
||||
b();
|
||||
z();
|
||||
}
|
||||
|
||||
function b() {
|
||||
|
Reference in New Issue
Block a user