Returns a string that concat the given text and suffix
Optional
The text to check
The suffix to append
a string that concat the given text and suffix
David Hsing
appendIfMissing('foo', 'bar'); // 'foobar'appendIfMissing('foobar', 'bar'); // 'foobar' Copy
appendIfMissing('foo', 'bar'); // 'foobar'appendIfMissing('foobar', 'bar'); // 'foobar'
Returns a string that concat the given text and suffix