Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

top-level await

const strings = await import(`/i18n/${navigator.language}`);
Source by v8.dev #
 
PREVIOUS NEXT
Tagged: #await
ADD COMMENT
Topic
Name
9+5 =