title: Separate elements inside array
body: <p>I have react property as array and I want to split those elements with <code>-</code>. I tried to use .split('-') but didn't work.</p>
  
  <pre><code>&lt;Application
    property={['name', 'lastName']}
  /&gt;
  </code></pre>
  
  <p>So, name and last name should be:
  Name - Last Name</p>
  
  <p>Inside Applications:</p>
  
  <pre><code>return (
                    &lt;div key={`propName-${value}`}&gt;
                      &lt;span&gt;{value}&lt;/span&gt;
                      {' '} // the space is for: Name (space) LastName (space)
                    &lt;/div&gt;
                  )
  </code></pre>