CodePen

HTML

            
              <input name="output" id="X"/>
            
          
!

CSS

            
              
            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

            
              start = new Date()
elapsed = ->Math.round (new Date()-start)/1000

A = Bacon.fromPoll(1000,->new Bacon.Next("A:#{elapsed()}")).toProperty 'A:0'
B = Bacon.fromPoll(3000,->new Bacon.Next("B:#{elapsed()}")).toProperty('B:0').delay('5000')

X = Bacon.combineAsArray(A,B).onValue($("#X"),"val")
            
          
!
Must be a valid URL.
+ add another resource
via JS Hint
Loading ..................