JSFiddle - React, Tailwind, and code Playground

by tea4two

JavaScript

var params = {keyA:"Y", keyB:"N"};
jQuery.each(params, function(key){
    var value = this;
    alert(key + "/" + value);
});