I'm getting extraneous argument label 'contentsOf:' in call
array.append(contentsOf: test)
error when trying to run this code in playground:
import Cocoa
var array:[Any] = []
let test = [""]
array.append(contentsOf: [""])
array.append(contentsOf: test)
Why is this happening? As I understand, there are two equal arrays with empty string.