More something like this ```typescript const formatted_string: string[] = [ `string-${value1}`,

More something like this
const formatted_string: string[] = [
`string-${value1}`,
`string-${value2}`
]


function example():{
// code to select the element of the array
// replace the element with the new value
// i.e value1 = "test value"
// return "string-test value"
}
const formatted_string: string[] = [
`string-${value1}`,
`string-${value2}`
]


function example():{
// code to select the element of the array
// replace the element with the new value
// i.e value1 = "test value"
// return "string-test value"
}
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?