+ 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

9th Jul 2020, 12:00 PM
sid
sid - avatar
3 Respostas
+ 1
https://code.sololearn.com/W8aH2NLBU6Qk/?ref=app
9th Jul 2020, 12:18 PM
Taste
Taste - avatar
+ 1
try. for(let a in ctx) for...in will take the key from the object
9th Jul 2020, 12:04 PM
Taste
Taste - avatar
0
Taste nope didnt work
9th Jul 2020, 12:09 PM
sid
sid - avatar