From d94053ca7768037016cbcacc4cadf843dad1bea6 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 26 Mar 2024 14:59:52 -0400 Subject: Add array:reversed() --- test/arrays.tm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test') diff --git a/test/arrays.tm b/test/arrays.tm index 07a89e19..e8856b3b 100644 --- a/test/arrays.tm +++ b/test/arrays.tm @@ -68,3 +68,8 @@ if yes = @[10, 20, 30] >> copy = [10, 20] + +if yes + >> arr := [10, 20, 30] + >> arr:reversed() + = [30, 20, 10] -- cgit v1.2.3