Add elements of array in jsonnet

前端 未结 0 910
庸人自扰
庸人自扰 2020-12-02 03:21

I am trying to add elements of an array in jsonnet. Can someone post a sample?

Sample input: [0, 1, 2, 3]

output 6

相关标签:
回答
  • 消灭零回复
提交回复
热议问题