Clear spaces

From , 4 Years ago, written in JavaScript, viewed 56 times.
URL https://pastebin.vip/view/49182f81
  1. String.prototype.trim = function() {
  2.     var reExtraSpace = /^\s*(.*?)\s+$/;
  3.     return this.replace(reExtraSpace, "$1")
  4. }
  5.  

Reply to "Clear spaces"

Here you can reply to the paste above

captcha

https://burned.cc - Burn After Reading Website