How to debug anonymous functions

  1. sorry i dont think i am being clear.
    why do we invoke like this: ‘haveFunToday’.toAlternatingCase())

i haven’t seen a function be invoked like this. usually the argument comes after the function and is inside the brackets e.g. toAlternatingCase(‘haveFunToday’). is there something i should know about this difference?

  1. thanks for that :slight_smile: