Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ['US', 'USA', 'United States of America']
- USUSAUnited States of America
- TypeError: props.modalCountry.alt_spellings is undefined
- const Component = ({ arr = [] }) => (
- <div>
- {arr && arr.join()}
- </div>
- );
- const Component = ({ arr = [] }) => arr ? (
- <div>
- {arr.join()}
- </div>
- ) : null;
- const Component = ({ arr = [] }) => (
- <div>
- {arr.join()}
- </div>
- );
Add Comment
Please, Sign In to add comment