Nurutomo2

𝓕𝓾𝓷𝓬𝓽𝓲𝓸𝓷 π“Ÿπ“΅π“Ύπ“Ό ( 𝓕𝓾𝓷𝓬+ )

Jul 16th, 2018
507
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ///////////////////////////////////////////////////////////
  2. /*                                                       */
  3. /*        π“•𝓾𝓷𝓬𝓽𝓲𝓸𝓷 π“Ÿπ“΅π“Ύπ“Ό ( 𝓕𝓾𝓷𝓬+ ) | π‘»π’–π’•π’π’“π’Šπ’‚π’          */
  4. /*                                                       */
  5. /*                                                       */
  6. /*            Put this script to tamperonkey             */
  7. /*  Or copy raw link and paste to update url input text  */
  8. /*           Or paste this script to console             */
  9. /*                                                       */
  10. /*    https://pastebin.com/raw/Rn8YawmM for sharing :D   */
  11. /*                                                       */
  12. ///////////////////////////////////////////////////////////
  13.  
  14. // ==UserScript==
  15. // @name         𝓕𝓾𝓷𝓬+
  16. // @namespace    https://pastebin.com/XNebcfQ7
  17. // @version      0.06
  18. // @description  Adding more function!
  19. // @author       Nurutomo #6541
  20. // @match        *
  21. // @grant        none
  22. // ==/UserScript==
  23.  
  24. ////////////////////////////////////
  25. //                                //
  26. //     -Math-     |  root  _____  //
  27. //                |    _  / n     //
  28. //   Features->   |     \/        //
  29. //                                //
  30. ////////////////////////////////////
  31.  
  32. // Math.nthRoot(degree, radicand) // output: root
  33. Math.nthRoot=(a,b)=>(Math.pow(b, 1/a)||((a||b==undefined)?NaN:0));
  34.  
  35. ///////////////////////////
  36. //                       //
  37. //  -=String Features=-  //
  38. //                       //
  39. ///////////////////////////
  40.  
  41. // Fill the blank with char or blank // "str".fillBlank(length, character) // output: "strrr...
  42. String.prototype.fillBlank=function(i,l){return this+new Array(i-this.length).fill(null==l?this.slice(-1):l).join("")};
  43.  
  44. // Features on the console and some CSS console
  45. console.log('%chttps://pastebin.com/XNebcfQ7 for features!', 'font-weight: bold; font-size: 15px');
Advertisement
Add Comment
Please, Sign In to add comment