I'm beginner web programing, and I'm learning CoffeeScript from documentaion , but I didn't understand fully. Now I have a question: if I have a javascript like this
bindCallback.apply(this, arguments);
how can I rewrite with Coffeescript
You can just remove the semicolon:
bindCallback.apply(this, arguments)
The parentheses can also be removed:
bindCallback.apply this, arguments
this is aliased to @ as well:
bindCallback.apply @, arguments
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With