mirror of
https://github.com/hi-language/hi-language.github.io.git
synced 2026-01-14 08:38:36 +00:00
Update index.html
This commit is contained in:
@@ -135,11 +135,11 @@ counter: {
|
|||||||
#value: 0
|
#value: 0
|
||||||
|
|
||||||
inc: {
|
inc: {
|
||||||
#value = #value + 1 // Mutates parent's private state
|
value = value + 1 // Mutates parent's private state
|
||||||
},
|
},
|
||||||
|
|
||||||
get: {
|
get: {
|
||||||
#value // The last expression is returned
|
value // The last expression is returned
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user