0
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 Answers
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 đ