JSFiddle - React, Tailwind, and code Playground

by Eric Howe

CoffeeScript

class CommandParser
  obj:
    message: null
    indicator: 'warning'
    stackTrace: null
    result: null
    isException: false
  constructor: (@command, @params, @result) ->
    @obj.result = @result

c1 = new CommandParser('c1', 'p1', 'r1')
c2 = new CommandParser('c2', 'p2', 'r2')
console.log(c1.obj.result, c1.result, c2.obj.result, c2.result)