Permalink
Browse files

some little fixes

  • Loading branch information...
1 parent a1c0c90 commit 095b37bb51d02b8589037195f77e634cfcadb50a Evgheny committed Sep 17, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/o.js
View
@@ -66,9 +66,9 @@
var a = (m) ? o[m] : o;
// exception for undefined and null
if ( a === null ) {
- return "null";
+ return "[object Null]";
} else if (a === undefined) {
- return "undefined";
+ return "[object Undefined]";
} else {
// in other cases
return Object.prototype.toString.call(a);

0 comments on commit 095b37b

Please sign in to comment.