3 ms·
This looks wrong to me - it looks like it should always return ‘light,’ because the ‘if prefers dark then return dark’ conditional is introduced after the defau
by mock-possum 2y ago
This looks wrong to me - it looks like it should always return ‘light,’ because the ‘if prefers dark then return dark’ conditional is introduced after the default result
Is it more like - result is a variable that can be redefined over and over during the function, and whatever value it is at the end, is what’s returned?