Skip to main content

All Questions

0 votes
1 answer
183 views

Using functions as statements on Python

A great feature of Javascript is function statements. You can do this: (function myFunc(){ doSomething(); doSomethingElse(); })(); Which is a way to declare a function and call it without ...
Dokkat's user avatar
  • 199