[Solved] Can’t find a fix for undefined in Javascript


Qoutes = [];
Qoutes[0] = "yolo";
Qoutes[1] = "swag";
Qoutes[2] = "vdsa";
Qoutes[3] = "yolo";
Qoutes[4] = "swag";
Qoutes[5] = "vdsa";
Qoutes[6] = "yolo";
Qoutes[7] = "swag";
Qoutes[8] = "vdsa";
Qoutes[9] = "yolo";
Qoutes[10] = "swag";
Qoutes[11] = "vdsa";

You need to place quotes around your strings, or else Javascript will assume that they are variables.

1

solved Can’t find a fix for undefined in Javascript