I am new to Solidity and I am reading Cryptozombies tutorial. I am stuck with mapping part, I understand how it works mapping(key => value) mappingName but I don't understand what is the output of that or where should it be used, I checked videos and articles and still confused. So my question is not about how it works, it is about the purpose of using it.
I am JS coder but is there is a way mapping relevant to .map in JS?