字符串操作-字符串拼接

Benchmark created on


Setup

let strA = '12341234aaaabbbb'
const strB = 'ccccdddd12341234'

Test runner

Ready to run.

Testing in
TestOps/sec
操作符+拼接
strA += strB
ready
concat方法
strA = strA.concat(strB)
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.