Tomasz Krakowiak
05/11/2021, 9:17 PMconst val DEBUG = false
fun doSomething(debug : Boolean) {
if(debug) {
doSomeDebugStuff()
}
}
Would DCE get rid of doSomeDebugStuff
from output js? Would it work across libraries? Would it work if I would store debug as field of some class?turansky
05/12/2021, 10:45 AMturansky
05/12/2021, 1:46 PM