7 kyu

Shorten Me: Array Declaration IV (1-30)

Description:

Shorten Me: Array Declaration IV (1-30)


Task

You have to write an array() function returning an array object with elements as follow:

[ 1,   2,  3,  4,  5,  6,  7,  8,  9, 10,
  11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
  21, 22, 23, 24, 25, 26, 27, 28, 29, 30 ]

Coding Limitation:

Less than 40 characters


|||| |---|---:| |Previous: Part III (Fibonacci Last Digit)|Next: Part V (Weekday & Weekend)|

Shorten Me: Array Declaration Series

Puzzles
Restricted

Stats:

CreatedJan 9, 2018
PublishedJan 9, 2018
Warriors Trained527
Total Skips5
Total Code Submissions1371
Total Times Completed216
JavaScript Completions216
Total Stars3
% of votes with a positive feedback rating90% of 85
Total "Very Satisfied" Votes72
Total "Somewhat Satisfied" Votes9
Total "Not Satisfied" Votes4
Total Rank Assessments4
Average Assessed Rank
7 kyu
Highest Assessed Rank
6 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • ZahNarztiK Avatar
  • Bubbler Avatar
Ad