Edit in JSFiddle
JavaScript
Result
var hoge = (function(x) { console.debug(x); return x * x; })(10); console.debug(hoge);