We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
string concat
4.5.x
https://www.typescriptlang.org/play?target=1&ts=4.5.5#code/G4QwTgBCELwQBgEgN4CMC+AHAHvIA
var a = `${b}px`
output:
"use strict"; var a = "".concat(b, "px");
"use strict"; var a = b + "px";
The text was updated successfully, but these errors were encountered:
This is expected. See #45304
Sorry, something went wrong.
@Josh-Cena I see. thanks for the pointer. I guess if anyone is concerned by .concat(), they can use + instead of template literal.
.concat()
+
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Bug Report
π Search Terms
string concat
π Version & Regression Information
4.5.x
β― Playground Link
https://www.typescriptlang.org/play?target=1&ts=4.5.5#code/G4QwTgBCELwQBgEgN4CMC+AHAHvIA
π» Code
π Actual behavior
output:
π Expected behavior
The text was updated successfully, but these errors were encountered: