Fix hoisting example

This commit is contained in:
Al 2022-07-22 19:40:24 +02:00
parent 5de5021f89
commit bfb73cb02b

View File

@ -435,7 +435,7 @@ function increment(uint x) view returns (uint x) {
// Functions hoisted - and can assign a function to a variable // Functions hoisted - and can assign a function to a variable
function a() { function a() {
var z = b; var z = b;
b(); z();
} }
function b() { function b() {