tests
This commit is contained in:
11
tests/luau/sort.luau
Normal file
11
tests/luau/sort.luau
Normal file
@ -0,0 +1,11 @@
|
||||
--!strict
|
||||
|
||||
local Array = require("../../luau/src")
|
||||
|
||||
local months = Array.new({"March", "Jan", "Feb", "Dec"})
|
||||
|
||||
print(months:tostring(), "\nlength=", months:len())
|
||||
|
||||
months:sort()
|
||||
|
||||
print(months:tostring())
|
Reference in New Issue
Block a user