     toString(input).replace HTML_ESCAPE_ONCE_REGEXP, HTML_ESCAPE
 
   # References:
-  # - http://www.sitepoint.com/forums/showthread.php?218218-Javascript-Regex-making-Dot-match-new-lines 
+  # - http://www.sitepoint.com/forums/showthread.php?218218-Javascript-Regex-making-Dot-match-new-lines
   strip_html: (input) ->
     toString(input)
       .replace(/<script[\s\S]*?<\/script>/g, "")

  Number input

toObjectString = Object::toString
  
isString = (input) ->
  toObjectString.call(input) is "[object String]"



  map: (input, property) ->
    toArray(input).map (e) ->
      if property?
        e[property]
      else
        e
