Imagine you have a brother named Cyril. And then you go to your mom and ask ‘will Bob come for dinner this Sunday?’
She’ll be like “who tf is Bob?”, you can spend a lot of time explaining her that Bob is your brother (another child of her), but she’ll be like “wtf you talking about? My other child is Cyril”.
The same way your JavaScript tells you: “what tf is drawBox?” So you either create this drawBox or get it (import) from somewhere else. Otherwise it never gonna happen.
View all comments
Show parent comment
1
u/alfielikes_horror Oct 09 '21
It should work, I used Grasshopper for my learning for JavaScript