Advertisement
deddyprianto

cut item string array

Sep 14th, 2022 (edited)
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   const finalOptionCodePhone = optionCodePhone.map((item) =>
  2.     item.replace(/(.*): (.*?)/g, '')
  3.   );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement