Programming Tips - javaScript: Iterate though the result of a split()

Date: 2014aug12 Language: javaScript Keywords: enumerate Q. javaScript: Iterate though the result of a split() A. Like this:
const a = str.split(/:/); for (let i = 0; i < a.length; i++) { console.log(a[i]); }