When it comes to working with Javascript, particularly Angular, I find myself using the this.
syntax quite often.
I'm curious to know if it's possible to concatenate variables in order to create a this.
variable.
For instance, is this achievable?
let variable = 'variable1';
let test = 'this.' + variable
test = false
My aim is to streamline the process of generating this.
variables.
Thank you for your assistance!