Selectively replace multiple instances of a character within a string: Difference between revisions
Selectively replace multiple instances of a character within a string (view source)
Revision as of 17:40, 28 July 2022
, 1 year ago→{{header|JavaScript}}
Line 251:
})() : [a, c]
)({})([...s])[1].join("");
// ---------------------- TEST -----------------------
|