output = function() {
	console.log.apply( console, arguments );
};

(function kuku( a, b ) {
	if ( a > 9 )
		return;
	if ( b > 9 )
		return kuku( a + 1, 0 );
	output( '%dx%d=%d', a, b, a * b );
	return kuku( a, b + 1 );
})( 1, 1 );