JSFiddle - React, Tailwind, and code Playground
JavaScript
var package = 'com.fliplet.theme';
var version = '1.0.1';
if (package.indexOf('theme') > -1 && version === '1.0.0') {
package += ':1.0.0';
}
console.log(package);
var package = 'com.fliplet.theme';
var version = '1.0.1';
if (package.indexOf('theme') > -1 && version === '1.0.0') {
package += ':1.0.0';
}
console.log(package);