Answer the question
In order to leave comments, you need to log in
TypeError: Canvas is not a constructor??
let canvas = new Canvas(1400,600); , throws an error on this line saying "Canvas is not a constructor"
Answer the question
In order to leave comments, you need to log in
Haven't coded in JS for a long time, but try:let canvas = new canvas.Canvas(1400, 600)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question