RosettaCodeData/Task/Function-definition/Groovy/function-definition-1.groovy

2 lines
33 B
Groovy

def multiply = { x, y -> x * y }