Why does javascript prefers to return a String over any other choices ?
String
Consider the following snippet.
var arr = [\'Hello1\', \'Hello2\', \
return this[x] || null || 'aïe' || 12 || undefined will not return one of those. It is supposed to return the result of the expression this[x] || null || 'aïe' || 12 || undefined - I believe it will return a boolean value.
return this[x] || null || 'aïe' || 12 || undefined
this[x] || null || 'aïe' || 12 || undefined