mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-15 16:18:04 +01:00
6 lines
134 B
Plaintext
6 lines
134 B
Plaintext
|
|
import "random" for Random
|
||
|
|
|
||
|
|
var random = Random.new(12345)
|
||
|
|
|
||
|
|
random.sample([]) // expect runtime error: Not enough elements to sample.
|