Hi guys,
I’ve run into a high performance canvas animation example and they code their script this way:
var Thingy = {};
Thingy.DOTHIS = 'doThis';
Thingy.DOTHAT = 'doThat';
Thingy.DOTHISANDTHAT = 'doThisAndThat';
Thingy.prototype = {
a: function(x) {
},
doThis: ...
}
What is it called and what’s the term to search on Google. I’ve tried several keywords but I can’t find anything useful to start learning with.
Thank you,