JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://amatiasq.com/fiddle-console.js"></script>
JavaScript
function Impresora() {
var a = "Privada!";
}
Impresora.prototype.probando = function() {
console.log("Intentando acceder desde un método usando 'a': " + a);
};
var temp = new Impresora();
temp.probando();