JSFiddle - React, Tailwind, and code Playground

by koba04

CoffeeScript

class Foo
    method: (a, b) ->
      console.log "#{a} and #{b}"

class Hoge extends Foo
    method: (args...) ->
      that = @
      setTimeout(->
        Hoge.__super__.method.apply that, args
      , 50)
        
hoge = new Hoge
hoge.method("hello", "world")