title: Swift difference between var arr:[String] = [] and var arr = [String]()
body: <p>I want to create an empty array that will contain strings.</p>
  
  <p>What are differences between the following two approaches and which one is better to use?</p>
  
  <pre><code>var arr:[String] = []
  
  // versus
  
  var arr = [String]()
  </code></pre>