Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis0
Lambda challenge question
Hey guys I need help with a challenge The code is Function getDigitCount(num) { } Console.log(getDigitCount(246), Iām having a brain fart I believe I need .length
3 Respostas
0
Please edit your question and specify the language in question tags, is it JavaScript?
0
yes its javascript
0
function getDigitCount(v) {
return ("" + v).length;
}
P.S. You should add JavaScript to your question tags instead š