I just looked at the javascript code that my MPP p...
# javascript
d
I just looked at the javascript code that my MPP project generated and it has a lot of
eval
calls in it, is kotlinjs safe?
p
if output from a C++ compiler contains a lot of jumps (evil GOTO 🔥), is it safe? 😉
🙌 1
or I’m missing your point. I get it as: using
eval
by a programmer is kinda shady, but if it’s used by a tool like a compiler and provided that the tool uses it correctly, I have no problem with that
👍🏻 1
r
No output from any C++ compiler is safe 😜
😍 1
And back to tho initial question - I've checked a few of my larger kotin/js projects and I haven't found a single
eval
in the generated code.
j
You're probably using the development output of webpack. Switch to production output
d
it’s totally fine if the kotlin js developer are perfect and never write bugs…
but I meant more, does that open up me as a developer using kotlin to accidentally writing vulnerabilities?