{this.state.userFirst} //returns anime
{this.props.firstPlace} //returns netflix
{this.props.provider[0].netflixAnimeT //returns 495
My current Code is...
<p>
  {this.Capitalize(this.props.firstPlace)} has
  {`this.props.provider[0].${this.props.firstPlace}${this.Capitalize(
    this.state.userFirst || ""
  )}T`}
  {this.state.userFirst}
</p>;
Capitalize (str){
  return str.charAt(0).toUpperCase() + str.slice(1)
}
Currently outputs:
Netflix has
this.props.provider[0].netflixAnimeTanime
However, I want output of:
Netflix has 495 anime
As I want it dynamic based on user ratings etc, how should I change my code in JSX? Thank you.
 
     
    