Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
class a
class kdApi
constructor : (className,funcName) ->
if [className][funcName]
console.log "class and function exists"
console.log "no, it doesn't."
new kdApi "a","b"
# when i run this, it returns "no it doesn't"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.