You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- S.r() now accepts an empty string as an argument, making the replacement non-global. - Leading ; resets the vars like so: A = [], B = "ABCDEFGHIJKLMNOPQRSTUVWXYZ", C = "abcdefghijklmnopqrstuvwxyz", D = "QWERTYUIOP\nASDFGHJKL\nZXCVBNM", E = "[a-z]", F = "[A-Za-z]", G = 36, H = 65, I = 91, J = ",", L = ".".
Copy file name to clipboardExpand all lines: src/japt-interpreter.js
+17-2Lines changed: 17 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -122,7 +122,7 @@ df(String,'n',function(x){x=x||10;if(x==10)return parseFloat(this);else return p
122
122
df(String,'o',function(x){returnthis.replace(newRegExp('[^'+x+']','gi'),"")});// Removes all but specified characters. Similar to TeaScript's O function
0 commit comments