by eps · 3y ago · 0 comments
public fun main() {
let weight = 1.0
print(weight) // 1.0
let length = 2.0
print(length) // 1.0
}
Is the behaviour of print "Just print whatever the first variable was forever" ? Is this example wrong ?