JSFiddle - React, Tailwind, and code Playground
by thorst
JavaScript
// Browser Compatibility
//https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach#Browser_compatibility
var cleanDots = function(pathString) {
return pathString;
}
var paths = [
"$HCIROOT/__logs/../../../cis6.1/integrator/_wapi",
"../../../cis6.1/integrator/_wapi/.."
];
paths.forEach(function(o,i){
console.log(cleanDots(o));
});