I was testing my anticheat when I got this error after I used the replace() function: ERROR: Line: 28: TypeError: thing.replace is not a function

    altZany It works for me. Maybe your assigned variable is probably undefined or not a string.

    altZany The replace() method is part of ES1 (the first version of JavaScript), so it's not something CDO would just remove. That would be like taking out if statements. I'm pretty sure that error is coming from thing not being a string. I get the same error when using a number instead.

    Chat