And you won't get that error if you try to call method hasOwnProperty on that undefined mw?