What is BarProp in Javascript?

Viewed 1984

I was working on a toolbar plugin where I accidentally named the plugin object 'toolbar'. And when I wanted to working on it in my console, I accidentally wanted to get the value of my toolbar object (without calling it actually), but it returned something called BarProp and the result was something like this

return of toolbar

I checked the typeof and typeof BarProp.valueOf(), where both of these returned that it's a function type.

I've searched for additional information on 'What actually is BarProp?', but I found nothing much than this msdn documentation : documentation_link

My questions are - What is this BarProp? What's it's purpose? How can we use it?

2 Answers
Related