jquery使用lodash
jquery使用lodash只需要在html中引入,不需要再import或require
使用的时候直接下划线就行
<script src="lodash.js"></script>
<script>
const ary = [1, 2, 3]
let cloneAry = _.cloneDeep(ary)
</script>
jquery使用lodash只需要在html中引入,不需要再import或require
使用的时候直接下划线就行
<script src="lodash.js"></script>
<script>
const ary = [1, 2, 3]
let cloneAry = _.cloneDeep(ary)
</script>