Skip to content

Conversation

@Pcharlesme
Copy link

Replaced eval with new Function because eval executes code in the global scope, which can lead to unexpected behavior or security vulnerabilities.

code concatenates strings to create an immediately-invoked function expression (IIFE), which is error-prone so the new function runs the code in a safer isolated function scope, reducing the risk of unintended global variable manipulations

Replaced eval with new Function because eval executes code in the global scope, which can lead to unexpected behavior or security vulnerabilities.
@Kali-Decoder
Copy link

Hey, if you paste the link in twitter it's not making any blinks why ?

My link is this: https://ipfs.io/ipfs/Qmb1L5A3Aw89zfcffaVTc4WFCzGW7N2HkAVH2uLxwVjDse

and element is this <blk ipfs://Qmb1L5A3Aw89zfcffaVTc4WFCzGW7N2HkAVH2uLxwVjDse blk>

let me know what I'm doing wrong

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants