loading...

re: What is the difference between using ` and "/' for strings in JavaScript? VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Ok, because I tested and do get "undefined" but it evaluates... JS works 'interestingly'.

Yeah, 'undefined' is kind of the default return value for stuff that doesn't return anything.

prompt() may produce more interesting results.

I have found this quite useful, bur I will make a post similar to this but with strings that use '/'.
Anyways, thanks for the help!
Cheers!

code of conduct - report abuse