Closed michaeljonathanblack closed 7 years ago
Yeah, you are correct, however a ternary isn't as composable as used within the webpack config generation. TBH I have started moving away from this implementation in some of my more recent work, into a much simpler form.
Great! Makes sense, just wanted to make sure I understood the things.
Thanks for the clarification! 💃
What is the purpose of the
ifElse
alternative to a simple ternary?Aren't ternaries already resolved lazily in JavaScript?