如果只有一个参数 ()可以省 ,如果只有一个return,{}和return可以省
```javascript
window.onload = function () {
alert("666")
}
window.onload = () => {
}
/* */
let show = function () {
alert("66")
}
let show = () => {
}
let hide = function (a, b) {
alert(a + b)
}
let hide = (a, b) => {
alert(a + b)
}
let arr = [1, 559, 55999, 6, -8]
arr.sort(function (a, b) {
return a - b;
})
arr.sort((a, b) => {
return a - b;
})
</script>