<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Session A</title>
    <script src="lib.js">
    </script>
</head>
<body>
    <h1>월화수목금토일</h1><hr>
    <script>
        weekend();
    </script>
</body>
</html>



lib.js에 에 있는 함수를 쓸 때는 항상 <script> 태그를 달아서 weekend()함수를 사용해야해?


편한 방법 없지?