Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
12-27-2021, 02:56 PM
|
#16
|
LQ Newbie
Registered: Dec 2021
Posts: 3
Rep: 
|
An alternative to eval is Function. Just like eval, Function takes some expression as a string for execution, except, rather than outputting the result directly, it returns an anonymous function to you that you can call.
|
|
|
12-29-2021, 07:25 AM
|
#17
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
Quote:
Originally Posted by JennyKara
An alternative to eval is Function. Just like eval, Function takes some expression as a string for execution, except, rather than outputting the result directly, it returns an anonymous function to you that you can call.
|
Sounds interesting. Can you give an example?
|
|
|
12-29-2021, 07:44 AM
|
#18
|
Senior Member
Registered: Mar 2020
Posts: 3,706
Rep: 
|
@ ondoho. All JennyKara posted until now on LQ was copy-pasted verbatim from somewhere else. The post above is no exception.
|
|
|
12-29-2021, 08:25 AM
|
#19
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
^ so javascript, not sh. And probably a bot anyhow. :sigh:
Thanks for the info.
(it's already banned)
|
|
|
All times are GMT -5. The time now is 06:50 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|