1
2
3
4
5
|
<script> var
start = ‘11-11-21‘ ;
start = start.replace(/-/gm, ‘‘ );
alert(start); </script> |
显示结果为111121
2022-07-10 07:18:56
1
2
3
4
5
|
<script> var
start = ‘11-11-21‘ ;
start = start.replace(/-/gm, ‘‘ );
alert(start); </script> |
显示结果为111121