Set an index in an array to a value
Makes an empty array and assigns it to variable "array_name"
Authored by: Wyatt-StankeBrought to you by Warp, a free terminal reimagined to work like a modern app.
array_name
array_index
value
Command
Copy
array_name[{{index}}]=value
Tags
Edit in GitHub
Copied