Passing a variable to window.open method

I’m trying to pass a variable to window.open() method. I would like to use that passed variable to the opened html file.

**<script>

        var value = document.getElementById("oper").value;
        const Gobtn = document.getElementById("Go");

        Gobtn.addEventListener("click", function (){
            window.open("calculate.html", value);
        });

    </script>**

I’m trying to open “calculate.html” and use the content of the variable named “value” in the “calculate.html” file. Thanks.