JSFiddle - React, Tailwind, and code Playground
JavaScript
function test() {
// Initialization code here
}
// Adding methods to the initializeAnimation function
test.a = function() {
alert("a");
};
test.b = function() {
alert("b");
};
test.c = function() {
alert("c");
};
test.c();