Code: Select all
SyntaxError: await is a reserved identifier
scripts.js:35:24
SyntaxError: await is a reserved identifier
commerce.js:11:4
Moderator: trava90

Code: Select all
SyntaxError: await is a reserved identifier
scripts.js:35:24
SyntaxError: await is a reserved identifier
commerce.js:11:4

Code: Select all
[["www.hanes.com",["/scripts/scripts.js",["const { faviconPath } = await getStoreConfiguration();","let faviconPath; getStoreConfiguration().then(c => faviconPath = c.faviconPath);"]],["/scripts/commerce.js",["const {\n domainName, websiteStoreViewCode, imgBaseDomain, cdn,\n} = await getStoreConfiguration();","let domainName, websiteStoreViewCode, imgBaseDomain, cdn; await getStoreConfiguration().then(c => ({domainName, websiteStoreViewCode, imgBaseDomain, cdn} = c));"]],["/scripts/delayed.js",["const launchurl = await getConfigValue('launch-script');","let launchurl; getConfigValue('launch-script').then(v => launchurl = v);"]]]]