sample node app
هذا الالتزام موجود في:
4
node-example/index.js
Normal file
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, "");
|
||||
};
|
||||
المرجع في مشكلة جديدة
حظر مستخدم