js insert point code example
Example: addEnd Point js
const addEndPoint = (string) => {
const str = string.trim();
if (str.substr(-1) == ".") return str;
return `${str}.`;
};
const addEndPoint = (string) => {
const str = string.trim();
if (str.substr(-1) == ".") return str;
return `${str}.`;
};