Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to write IIFE (Immediately-Invoked Function Expression ) using Sharpkit #355

Open
GoogleCodeExporter opened this issue Oct 3, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by divyang4...@gmail.com on 26 Apr 2014 at 12:57

@GoogleCodeExporter
Copy link
Author

To do so, you need to define an anonymous delegate:
var x = new JsFunc<object>(() => 7 + 7)();
HtmlContext.alert(x);

Original comment by DanelK...@gmail.com on 28 Apr 2014 at 11:27

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

No branches or pull requests

1 participant