Posts by Carlos Dória • 11 points
1 post
-
1
votes1
answer434
viewsA: Import and Export Javascript functions and classes
To use the declarations import and export, it is necessary that you declare that your script is of type module. Example: html --> <!DOCTYPE html> <html lang="en"> <head>…