Once in, we have only to determine whether the A string containing B A.indexof (B);
now have in the ES6:
Includes (), startsWith (), endsWith ()
reapt () repetitions;
Export
`It is a new operator, presentation template string.
Output:
so happy ah, I bought a cell phone, spent 10 yuan, I am very happy ah! ,
Cut off the connection can effectively reduce
There may be a slight operation:
`Things can wrap the law, you do not need to cut off the connection:
Output: