 		 */
 		public static function log(...args):void
 		{
-			global.console.log.apply(global.console, args);
+			console.log.apply(console, args);
 		}
 		
 		/**

		public static function setInterval(func:Function, delay:int, ...params):int
		{
			params.unshift(func, delay);
			return global.setInterval.apply(global, params);
		}
		
		/**

				return value;
			
			// special case for iterable object
			if (value && typeof value[Symbol.iterator] === 'function')
			{
				var iterator:Object = value[Symbol.iterator]();
				var values:Array = [];
				while (true)
				{
