parent
91b37311d9
commit
3f16711254
2 changed files with 14 additions and 2 deletions
12
tests/js/t8914.nim
Normal file
12
tests/js/t8914.nim
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
discard """
|
||||
output: '''
|
||||
@[42]
|
||||
@[24, 42]
|
||||
'''
|
||||
"""
|
||||
|
||||
var x = @[42,4242]
|
||||
x.delete(1)
|
||||
echo x
|
||||
x.insert(24)
|
||||
echo x
|
||||
Loading…
Add table
Add a link
Reference in a new issue