We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa9dc13 commit 13097a8Copy full SHA for 13097a8
javascript/_10.js
@@ -0,0 +1,6 @@
1
+
2
+var isMatch = function (s, p) {
3
+ return (new RegExp('^' + p + '$')).test(s)
4
+}
5
6
+console.log(isMatch('aa',"a"))
0 commit comments