Closed RazvanBugoi closed 4 years ago
https://www.codewars.com/kata/59f7fc109f0e86d705000043/train/javascript
function divisibleByThree(str){ let num = str.split('').map((el) => Number(el)).reduce((a,b) => a+b, 0); return num % 3 == 0; }
https://www.codewars.com/kata/59f7fc109f0e86d705000043/train/javascript