slimit icon indicating copy to clipboard operation
slimit copied to clipboard

Add IF statement optimization N5

Open rspivak opened this issue 13 years ago • 0 comments

Add the following optimization:

if (foo) return bar(); else return baz(); ==> return foo?bar():baz();

rspivak avatar Jan 05 '12 15:01 rspivak