Javascript React Native Strict Mode Does Not Allow Function

Javascript React Native Strict Mode Does Not Allow Function