Home > other >  call a function in google console
call a function in google console

Time:11-01

is there a way to call this function in the google console? I am new to coding but I need this.

            e[dt.a.LUCKY_POT] = function(e) {
            return j.createElement(j.Suspense, {
                fallback: null
            }, j.createElement(bt, {
                onClose: function() {
                    return m(e)
                },
                notification: e,
                userId: null == d ? void 0 : d.id
            }))
        }

CodePudding user response:

you're basically assigning a function to a variable called e[dt.a.LUCKY_POT] so just call e[dt.a.LUCKY_POT](), but the question is what is the e object? if you just want to run it and get the results - run the folloing:

(function(e) {
            return j.createElement(j.Suspense, {
                fallback: null
            }, j.createElement(bt, {
                onClose: function() {
                    return m(e)
                },
                notification: e,
                userId: null == d ? void 0 : d.id
            }))
        })()
<iframe name="sif1" sandbox="allow-forms allow-modals allow-scripts" frameborder="0"></iframe>

but then I'll ask who's the j object?

  • Related