<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<script>
// 数组翻转
var arr=['a','b','c',d'']
console.log(arr.reverse());
console.log(arr);
</script>
</body>
</html>
数组API:数组翻转
最新推荐文章于 2024-05-23 22:35:50 发布