 	 * ```
 	###
 	@onUnhandledRejection: (reason, p) ->
-		return if typeof console != $object
+		return if not isObject console
 
 		$info = 'Unhandled Rejection:'
 

	###
	addHandler = (p1, p2, onFulfilled, onRejected) ->
		# 2.2.1
		if typeof onFulfilled == $function
			p2._onFulfilled = onFulfilled
		if typeof onRejected == $function
			p2._onRejected = onRejected

		p1[$hasUnhandledRejection] = false


		# 2.3.2
		# 2.3.3
		if x != null and (isFunction(x) or isObject(x))
			# 2.3.2.1
			xthen = genTryCatcher(getThen) x

