What is the purpose of separating code using commas instead of moving to the next line?
For example, I found this code:
var fm = $.NSFileManager.defaultManager,
oURL = $.NSURL.fileURLWithPathIsDirectory(strPath, true),
lstFiles = ObjC.unwrap(
fm.contentsOfDirectoryAtURLIncludingPropertiesForKeysOptionsError(
oURL, [], 1 << 2, null
)
),
lstHarvest = [];
I don't see it often but it feels like a run on sentence.
Update:
I think I see what is going on but I rarely ever see this. Is it ES5, ES6 thing?