Closed WebrealizerZS closed 3 years ago
Just wanted to confirm: are you referring to the example on https://github.com/webcomponents/gold-standard/wiki/Expressed-Dependencies?
Generally speaking, the code fragments provided aren't intended necessarily to be complete as is and ready for copy-and-pasting — it will almost always be necessary to provide additional code that depends on context. Still, if the await
example on the above page was confusing to you, it might be worth expanding that particular example.
I updated the sample code to sit inside an async
function.
When you try executing this code
in browser (Chrome) it would through