After connecting a JS module in DevTools' "Sources", I can see that the module is connected. However, when I try to run a function from the module, it doesn't work.
What steps should be taken to successfully run the function from the module?
function consoleLog () {
console.log('The module is working')
}
export default consoleLog;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8>
<title>Title</title>
<script type="module" src="./module.js">
import consoleLog from './module';
consoleLog();
</script>
</head>
<body>
</body>
</html>