diff --git a/critwarn.js b/critwarn.js new file mode 100644 index 0000000..3a55c0f --- /dev/null +++ b/critwarn.js @@ -0,0 +1,9 @@ +function replace1(str) { + return str.replace(/"/, '"'); +} +function replace2(str) { + return str.replace(/&/, '&'); +} +function replace3(str) { + return str.replace(/ value) return 1; + return 0; + } +} +