This website requires JavaScript.
Explore
Help
Sign In
AleoHQ
/
leo
Watch
1
Star
1
Fork
0
You've already forked leo
mirror of
https://github.com/AleoHQ/leo.git
synced
2024-12-30 05:02:04 +03:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
7e3fb20eb1
leo
/
compiler
/
tests
/
mutability
/
array.leo
5 lines
91 B
Plaintext
Raw
Normal View
History
Unescape
Escape
finish mutability tests. add testing helpers
2020-05-19 22:41:21 +03:00
// Arrays are immutable by default.
function main() {
deprecate let mut, undeprecate const, let is now mutable by default
2021-03-18 22:19:07 +03:00
const a = [1u32];
fix indents
2020-07-17 22:59:18 +03:00
a[0] = 0;
finish mutability tests. add testing helpers
2020-05-19 22:41:21 +03:00
}
Reference in New Issue
Copy Permalink