I am really enjoying the rest api playlist, thank you very much. Very glad to see you are now on Udemy!
I am just at the last part now and I am getting errors around the .map section of the public index.html file:
render: function(){
var ninjas = this.state.ninjas;
ninjas = ninjas.map(function(ninja, index){
return(
{ninja.obj.name}{ninja.obj.rank}{Math.floor(ninja.dis / 1000)} km
);
});
My browser is saying .map is not a supported function.
Hi Shaun,
I am really enjoying the rest api playlist, thank you very much. Very glad to see you are now on Udemy!
I am just at the last part now and I am getting errors around the .map section of the public index.html file: render: function(){ var ninjas = this.state.ninjas; ninjas = ninjas.map(function(ninja, index){ return(
My browser is saying .map is not a supported function.
Do you have any feedback?
Many thanks, Charlie