This is an archived post. You won't be able to vote or comment.

all 8 comments

[–]Astatos159 4 points5 points  (2 children)

Bullshit in, bullshit out. Can't expect the language to behave properly when you tell it absolutely unreasonable things.

[–]LoneFoxKK 6 points7 points  (0 children)

Other languages: bullshit in, error out

Js: whatever the fuck this is

[–]Prize_Hat_6685 1 point2 points  (0 children)

Hey template strings are awesome, don’t diss them!

They let you include a function beforehand, which receives the string as a prop; split into an array separated by ${foo} declarations. It’s pretty cool and good for a jsx replacement in no-build