Compare methods of concatenating strings.
const str1 = 'Hello';
const str2 = 'World';
const str3 = '!';Initializing...
| Test Case | Ops/sec | |
|---|---|---|
| Plus operator (+) | | ready |
| Template literals | | ready |
| Array join | | ready |
| String concat | | ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.