+ 1
Retrieving properties
I would like to know all the properties /functions associated with the ctx object of canvasRendringContext2d.but it showing empty.. Heres what i tried. https://code.sololearn.com/WkdD3u1C52dL/?ref=app
3 Respostas
+ 1
https://code.sololearn.com/W8aH2NLBU6Qk/?ref=app
+ 1
try.
for(let a in ctx)
for...in will take the key from the object
0
Taste nope didnt work