mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-11 14:18:42 +01:00
7 lines
165 B
Plaintext
7 lines
165 B
Plaintext
import "random" for Random
|
|
|
|
var random = Random.new(12345)
|
|
|
|
System.print(random.sample([], 0)) // expect: []
|
|
System.print(random.sample([1, 2, 3], 0)) // expect: []
|