Loader and Module as globals?

# Juan Ignacio Dopazo (12 years ago)

The latest draft doesn't seem to specify (or I can't find) where the Loader and Module constructor object will be accessible from. Will they be available as properties of the global object, as properties of System or as properties of Reflect?

# John Barton (12 years ago)

Well we have to make a choice. If we use Loader.prototype.Module, then we'll get System.Module by way of System being instanceof Loader.

# Brendan Eich (12 years ago)

John Barton wrote:

Well we have to make a choice. If we use Loader.prototype.Module, then we'll get System.Module by way of System being instanceof Loader.

I don't see any reply to this message, but Loader and Module go in Reflect, last I heard. What you were worrying about does not make sense, so I say: don't worry.