RosettaCodeData/Task/Exponentiation-order/Jq/exponentiation-order-2.jq
2023-07-01 13:44:08 -04:00

3 lines
69 B
Text

def pow: reduce .[1:] as $i (.[0]; pow(.;$i))
[5,3,2] | pow