You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Typing console.log("%s has %d points", "Sam", 100);
outputs - %s has %d points Sam 100, (concatenation) on the page,
while the console outputs - Sam has 100 points
(It substitutes the values of %s & %d in the string).
Typing
console.log("%s has %d points", "Sam", 100);
outputs -
%s has %d points Sam 100
, (concatenation) on the page,while the console outputs -
Sam has 100 points
(It substitutes the values of
%s
&%d
in the string).Reference link
The text was updated successfully, but these errors were encountered: