Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jan 23rd, 2018
52
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
var fnString = $('#fnInput').val()
// is there any way I can check if fnString is a valid function name
// before calling the following line:
eval(fnString + '()');
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 13 min ago | 0.38 KB
Untitled
Python | 14 min ago | 1.41 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 17 min ago | 0.39 KB
Untitled
C++ | 23 min ago | 0.46 KB
Untitled
C++ | 28 min ago | 0.24 KB
Teste 2
Lua | 33 min ago | 39.95 KB
Untitled
C++ | 41 min ago | 0.50 KB
wb_parse
JavaScript | 45 min ago | 1.39 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!