Is there a lodash
function that would transform "répété" => "RÉPÉTÉ"
instead of "REPETE"
as it's done by the uppercase
function?
If not, what's an easy way to perform this in Javascript?
You could use toLocaleUpperCase()
const str = 'répété';
const ret = str.toLocaleUpperCase();
console.log(ret);