Array: Difference between revisions

10 bytes removed ,  7 years ago
m
Not a task; remove erroneous task headers
m (Not a task; remove erroneous task headers)
Line 78:
</lang>
 
=={{header|=[[jq}}]]===
jq's data types are the same as JSON's data types, and thus jq's arrays can hold any combination of JSON entities. jq arrays are indexed beginning with 0, so ["hello"][0] evaluates to "hello".
 
Line 122:
reduce range(2;n+1) as $i (1; . * $i) # => n!</lang>
 
=={{header|=[[REXX}}]]===
<lang rexx>/*REXX program snippets to show a variety (types) of "array" indexing. */
 
10,339

edits