Adding a JSON or array format

Hi,
IM recently working on a new project which includes a lot of string values for an array and I thought it would been a lot nicer if there were some way to add the words easier. Like in javascript you can for instance do:

const example = [
“example 1”,
“example 2”,
“example 3”,
“example 4”,
“example 5”
]

Having this would be a lot easier than needing to copy or write the new word over and over again, you could also just implement a way to just copy and paste the words in without needing to change each item in the array because right now I have to write the word then click on the item under and so on.

Hope this gets added if its not added already and I didnt know.