JSFiddle - React, Tailwind, and code Playground
JavaScript
var l = Object.getOwnPropertyNames(this).map(function(e){this[e.toLowerCase()]=this[e];return e;});
console.log(l);
var l = Object.getOwnPropertyNames(this).map(function(e){this[e.toLowerCase()]=this[e];return e;});
console.log(l);