How to convert half-angle to full-width function by JavaScript
This article will explain in detail how to convert half-width to full-width function in JavaScript. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.
Convert half-angle to full-width function function toDBC (str) {
Var result = ""
For (var I = 0; I
< str.length; i++) { code = str.charCodeAt(i); if (code >= 33 & & code