SOURCE

console 命令行工具 X clear

                    
>
console
for(let i =1; i <= 9; i++) {
	let a = " ";
	for(let j = 1; j <= i; j++) {
		a += j + 'x' + i + "=" + (i * j) + " ";
	}
	console.log(a);
}
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<script src="./biao.js"></script>
</body>
</html>