I'm creating a new Audio() object inside a Vue component's data() { ... } function, but I got concerned about if this is unnecessarily creating more Audio objects.
I can't seem to find when or how the data() function is called, but I also couldn't find any examples that crates a new object in the data function.
Is it ok to create new objects inside data() ? Or should I leave those initializations to the created() function?