Home > Article > Web Front-end > Solution to JS string splicing error in IE_javascript skills
I haven’t used js for a long time, and I have forgotten a lot of stuff. Recently, I encountered a problem when splicing strings using JS. No matter how I spliced it, an error was reported in IE, which was very frustrating.
A day later, I picked up the code and looked at it again. Suddenly I remembered the splicing of string escape characters in java, and then I remembered that js also has this stuff. "