Is there a reason to create an EMPTY_ARRAY variable, instead of just having:

return getProp(name ? name.split(".") : [], create, context); // Object