Skip to content

Commit

Permalink
Console-log-2
Browse files Browse the repository at this point in the history
  • Loading branch information
smth-to-smb committed Sep 7, 2023
1 parent 5cbcb0b commit 9f879a1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/sum.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,11 @@ function del(a, b) {
module.exports.del = del;


console.log(1+"text")
var x = 5;
var y = "10";

// This line will cause a TypeError because you cannot add a number and a string.
var result = x + y;

console.log(result);

0 comments on commit 9f879a1

Please sign in to comment.