js如何将全角转换为半角?<script>function cc() { var str = document.getElementById('checkcode').valuevar result=''2023-03-02JavaScript130