Home > front end >  The use of JavaScript in the break statement, in a string of characters to find a position of a lett
The use of JavaScript in the break statement, in a string of characters to find a position of a lett

Time:04-27

CodePudding user response:

Traversal string are not d so every time in front of the execution of the document. The write to meet d iPos is not nothing wrong with index + 1 and then jump out of the loop

CodePudding user response:

When the if judgements are true does not perform break, it would not have been output that a paragraph?

CodePudding user response:

The document. The write to outside loop

CodePudding user response:

It had been before the break, always write position 0, after the break, did not write,,, that's interesting
  • Related