IS
'hello world!'.replace(/\b./g, c => c.toUpperCase())
Size: a a a
IS
'hello world!'.replace(/\b./g, c => c.toUpperCase())
DM
С
B
ДК
DM
B
DM
l
DM
$RANDOM
IS
l
B
$RANDOM
IS
${x}
.split('').map(Number).reduce((a, b) => a + b)B
DM
l
${x}
.split('').map(Number).reduce((a, b) => a + b)DM
const solve = x => {
for (var sum=0; x>0; x=~~(x/10)) sum += x%10;
return sum
}
B