Advertisement
Namokonov

Untitled

Mar 17th, 2021
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. return JSON.stringify(data.map(g => g.map(h => h.toString().search('http') > -1 ? `<a href=${h}>ССЫЛКА</a>` : h)), null, " ")
  2.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement