kuwabarahiroshi/joo — pull request #1 by nazomikan (2013-08-20 14:32:49+00:00)
Title: throw type error when `.borrows` is given primitive.

I feel uncomfortable in that behavior which, when given a primitive value to `.borrows` is different in old ie and other.

old ie (not has debug console): throw exception
other (has debug console): Nothing happens

I think it is difficult to debug.
So I changed to throw an TypeError whenever give the primitive to `borrows`.
You can see the call-stack when error was thrown, makes debugging easier.