Reverse function. Closes #94.

This commit is contained in:
Stephen Dolan committed 2013-05-16 14:25:28 +01:00
1 parent a1e4dfa324
commit 919292764a
2 files changed
+11

No files matched your search

+10
View File
@@ -718,6 +718,16 @@ sections:
input: '[1,2,5,3,5,3,1,3]'
output: ['[1,2,3,5]']
- title: `reverse`
body: |
This function reverses an array.
examples:
- program: 'reverse'
input: '[1,2,3,4]'
output: ['[4,3,2,1]']
- title: `contains`
body: |