I'm working on a very large coffeescript file another team originally developed. For some reason, there is an "undefined" at the end of pretty much every single block of code in the file. For instance:
someFunction = () ->
ajaxReq(
blah blah
undefined
)
undefined
$("#some_id").click((e)->
e.preventDefault()
blah blah
undefined
)
$(".some_class").change(->
blah blah
undefined
)
Could someone please help me understand why they did this, and if it is necessary? Thank you.