I know this sounds silly but I don't know why my min function is returning the max value instead of min value. Can someone please tell me here have I gone wrong?
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<script>
let findMin=(1,2);
const resultOfMin=Math.min(findMin)
document.write(resultOfMin);
</script>
</body>
</html>