You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>Mediante la propiedad 'src' indicamos el nombre del archivo a importar.</p>
<p>Luego, podemos llamar dentro de la página HTML, a las funciones que contiene el archivo externo funciones.js; en nuestro ejemplo llamamos a las funciones retornarFecha() y retornarHora().</p>
<p>Como podemos ver, el archivo html queda mucho más limpio.</p>
<p>Es importante notar que primero se importa el archivo 'funciones.js' y recién podemos llamar a las funciones contenidas.</p>