File: optional_arguments.coffee

Defined in:

Constant Summary

GREETING =

The greeting

'Hay'

Method Summary

Method Details

? hello(name)

Says hello to a person

Parameters:

  • nameThe name of the person

? bye(name)

Says bye to a person

Parameters:

  • nameThe name of the person

@sayHi(hi)

Say hi to a person

Parameters:

  • nameThe name of the person