I used to do challenges there but for javascript, haven't been on Code Wars for well over a year, tnx for the reminder. Also, I always try to make one-liners.
In JS it should look smth like this
function narcissistic (val){
return val === [...val.toString()].reduce((x,y,z,arr) => parseInt(x) + y**arr.length);
}
RE: CodeWars Python Challenge: Does my number look big in this?