Flash tip of the day

Out of context: Reply #22

  • Started
  • Last post
  • 47 Responses
  • funkage0

    Don't know if you guys know this, but I was taught of these shortcuts, which come in handy, quite a while back.

    Pressing Esc, F, then N in quick succession writes this for you:
    function () {
    }

    Pressing Esc, F, then R in quick succession writes this for you:
    for () {
    }

    Experiment with different keys to get different stuff.
    Esc, S, W gives you switch.
    Esc, I, F, gives you an if statement.
    Esc, W, H, gives you while.

View thread