Javascript React Arrow Function Produced Different

Javascript React Arrow Function Produced Different