I would point out that that this behavior is unexpected unless you understand prototyping.