Example 1
Entrada
function hello(name) {
// say hi
console.log('Hello ' + name);
}
hello('ToolsOnline');
Salida
Minify JavaScript code quickly in your browser.
Algunas herramientas funcionan en tu navegador. Algunas funciones pueden requerir procesamiento en el servidor.
function hello(name) {
// say hi
console.log('Hello ' + name);
}
hello('ToolsOnline');
const items = [1, 2, 3];
items.forEach((x) => {
if (x % 2 === 0) {
console.log(x);
}
});