diff options
author | Al <80943867+al-ias@users.noreply.github.com> | 2022-07-22 19:40:24 +0200 |
---|---|---|
committer | Al <80943867+al-ias@users.noreply.github.com> | 2022-07-22 19:40:24 +0200 |
commit | bfb73cb02b1312bf187d903993bdd44be1bf36de (patch) | |
tree | 023d2debf61d31d05a18e0ceb1161f21443cdd93 | |
parent | 5de5021f8946d6c5450995d02cc0c8472eab3bb0 (diff) |
Fix hoisting example
-rw-r--r-- | solidity.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/solidity.html.markdown b/solidity.html.markdown index c52d2002..2006333e 100644 --- a/solidity.html.markdown +++ b/solidity.html.markdown @@ -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() { |