[JavaScript] js2coffee Converts arguments to arguments_

Tadashi Shigeoka ·  Fri, April 11, 2014

Js2coffee converted arguments to arguments_, and I ran it without noticing, causing an error.

arguments_js2coffee

JavaScript

arguments.callee

↓ js2coffee

CoffeeScript

arguments_.callee

When converting, it seems an underscore was added as a suffix…


Reference Information

arguments - JavaScript | MDN

arguments.callee - JavaScript | MDN

The Little Book on CoffeeScript - The Bad Parts

That’s all from the Gemba.