<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<style>
.out-rect {
width: 166px;
height: 50px;
background-image: linear-gradient(red, rgb(0, 47, 255));
font-size: 24px;
letter-spacing: 6px;
clip-path: polygon(
8% 0%,
92% 0%,
100% 8%,
100% 92%,
92% 100%,
8% 100%,
0% 92%,
0% 8%
);
}
</style>
</head>
<body>
<div class="out-rect flex-column"></div>
<div></div>
<script>
function sum1() {
// console.log(arguments)
for (let i = 0; i < arguments.length; i++) {
console.log(Object.prototype.toString.call(arguments[i]))
}
}
sum1(3, '2')
// sum1(3)(5)
</script>
</body>
</html>
111.png