下划线在Haxe中有什么用?
我看到当我不在乎计数器是什么时,可以在循环以及数组和映射理解中使用它,例如:
var a = [for (_ in 0...5) Math.random()]; // 5 random nums
还有其他常用的地方吗?
haxe
haxe ×1