JSRunner

The open source playground for JavaScript developers

1+1
    
"hello"

const hola = {
  a: 1,
}

hola
2

"hello"





{
  a: 1,
}

Discover and try out new things with JavaScript and TypeScript, bring your ideas to life with visual representations, and receive immediate feedback as you type.

fetch(https://jsonplaceholder.typicode.com/todos/1)
	.then(response => response.json())
	.then(data => console.log(data))


let hello:string = 'Kitty'


{
"userId": 1,
"id": 1,
"title": "delectus aut autem",
"completed": false
}
class Persona{
	constructor(a,s) {
	this.nombre=a,
	this.edad=s
	}
	saludar(){
	console.log(`Hola, soy ${this.nombre}`)
	}
}
const juan= new Persona("Juan",30);
juan.saludar();










'Hola, soy Juan'

Make the most of everything JavaScript has to offer, including the new features that come out in ESNEXT, and try them out.