JSFiddle - React, Tailwind, and code Playground

generic playground

by mklement

HTML

<!-- Div to receive output from out(). -->
<div id='out' />

JavaScript

function out() {
	// Also output to console.
	console.log(arguments)
  // Send to output div.
  $(arguments).each(function() {
  	$('#out').append('<p>' + this + '</p>')
  })
}

// Place your JS expressions in here.
// Note that this is a function call: separate expressions
// with ","; ⌥⌘C shows the JS console.
out(

	'testing...'

)