Turns out I couldn't call methods (like the .add() method) from directly within the class, not in a method. Problem solved :/.
確定! 回上一頁