fix: syntax update (#26895)

This commit is contained in:
v01d3tr
2019-02-13 10:31:16 +01:00
committed by Manish Giri
parent 3b9ae3d786
commit 7705e1a805

View File

@ -24,8 +24,8 @@ The **block** statement is commonly used with control flow statements (e.g. `if.
x++; x++;
} }
function addnums(num1, num2) { function addNums(num1, num2) {
var sum = 0; let sum = 0;
sum = num1 + num2; sum = num1 + num2;
return sum; return sum;
} }