Discuss Scratch

TerrariaMods
Scratcher
100+ posts

What is this?

I've been getting into JS, but one thing still confuses me. I'm sorry for not explaining it very well, but if you type console.log(window); onto the console on https://scratch.mit.edu you get something like this:

What I'm wondering is what is the label in front of the {} in window.caches and window.clientInformation, and what is it used for?

Goal: 1k Posts
25.8%







































































































Jeffalo
Scratcher
1000+ posts

What is this?

if i understand your question correctly, thats a custom object type. you can make your own with the new operator.

my website: jeffalo.net | ocular: scratch forum search













Powered by DjangoBB