shithub: mc

ref: 6e9c17391b5f1cc81904d622efccff55519be6d9
dir: /test/idxlen.myr/

View raw version
use std

const main = {
	var a = [1,2,3,4]
	std.put("{} ", a[$-1])
	std.put("{}\n", a[$-2:])
}