前端格式转化

1、字符串转化为数组:split();

2、数组转化为字符串:join();

3、数组转化为json格式:JSON.stringify();

posted @ 2022-03-25 16:25  嗨嗨嗨包子Z  阅读(56)  评论(0)    收藏  举报