+ const fileNames = [ 'acct/local', 'acct', '.' ]
+ Promise.all(fileNames.map(strapp.GET)).then((files) => {
+ let html = ''
+ fileNames.forEach((fileName, idx) => {
+ html += '<p>' + fileName + ': ' + JSON.stringify(files[idx]) + '</p>'
+ })
+ document.getElementById('testdiv').innerHTML = html
+ })