Sobes.tech
Junior — Senior

Sequential Array Generator

livecode

Task condition

Implement a function that takes an integer n and returns an array that first lists the values from 0 to n inclusive, and then the same values in reverse order from n-1 to 0.