remove node_modules and .gitignore them
This commit is contained in:
-9
@@ -1,9 +0,0 @@
|
||||
export const substring = (input, start, stop, reverse) => {
|
||||
if (start >= stop || input.length < stop) {
|
||||
return null;
|
||||
}
|
||||
if (!reverse) {
|
||||
return input.substring(start, stop);
|
||||
}
|
||||
return input.substring(input.length - stop, input.length - start);
|
||||
};
|
||||
Reference in New Issue
Block a user