JSFiddle - React, Tailwind, and code Playground

by Rufuus06

HTML

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
</body>
</html>

JavaScript

//Creación de la función sin nombre
var pokemon = function(nom)
{
  document.write("Has capturado a " + nom + "!");
}

//Llamada de la función con valor del parámetro
pokemon("Charizard");