tags:

views:

58

answers:

1

I often see the terms explicitly & implicitly used in JavaScript and I'm still not sure I know what they mean i.e the following text from the MDC site describing the object model.

The constructor function explicitly sets the value of the projects property, and implicitly sets the value of the internal __proto__ property to the value of WorkerBee.prototype...

[source]

+2  A: 

"Implicitly" means that the JS engine does it. "Explicitly" means that you must do it.

Ignacio Vazquez-Abrams
@Ignacio - Thank you so much. That was the kind of answer I was looking for but couldn't find it anywhere.
Nick Lowman
@Nick – You can see this in the constructor: `function WorkerBee () { this.projects = []; }`
Marcel Korpel
Or rather you *can't* see it, since it's *implicit*.
Ignacio Vazquez-Abrams
I meant the explicit setting.
Marcel Korpel