Guest User

Untitled

a guest
Sep 26th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. /*
  2. * @param object obj
  3. * @returns string True type name of object
  4. */
  5. function type(obj) {
  6. return Object.prototype.toString.call(obj).slice(8, -1)
  7. }
Add Comment
Please, Sign In to add comment