sample node app

هذا الالتزام موجود في:
Chris Ayers
2022-04-06 16:48:53 +00:00
الأصل 388b6cde3d
التزام e81b2de78f
3 ملفات معدلة مع 17 إضافات و0 حذوفات

4
node-example/index.js Normal file
عرض الملف

@@ -0,0 +1,4 @@
module.exports = function removespace(string) {
if (typeof string !== "string") throw new TypeError("Meh! Enter a string!!");
return string.replace(/\s/g, "");
};