       else str
   )
 
-### class type END ###
+### class typeOf END ###
   
 list = [
   ""

  {}
  new Object()
  ->
  type("")
  new type()
  new Date()
  new Animal("Ben")
  new Animal()

Person = ->
    return "Tom"

### class typeOf START ###
class typeOf
  constructor: (@value) ->
    if @value == null then return "[object Null]"
    if @value == undefined or typeOf @value == "undefined" then return "[object Undefined]"
    getClass =  toClass(@value)
    if getClass == "[object annonymous]" then return @value
    return getClass
