Vue in the join (), reverse () and split () function

1, splite ( '') can press a string of characters or other segmentation. Returns an array.
2, reverse () method changes the original array, without creating a new array. This function may be an array in reverse order.
3, join () method for all elements in the array into a string. Elements are separated by a specified delimiter. The method specified partition join ( '');

Published 139 original articles · won praise 13 · views 9319

Guess you like

Origin blog.csdn.net/qq_18671415/article/details/103814902