We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81ae2ac commit 9b67749Copy full SHA for 9b67749
Sprint-2/1-key-errors/1.js
@@ -32,8 +32,8 @@ console.log(decimalNumber);
32
// =============> write your new code here
33
34
function convertToPercentage(decimalNumber) {
35
- const percentage = `${decimalNumber * 100}%`;
36
- return percentage;
+ return `${decimalNumber * 100}%`;
+
37
}
38
39
console.log(convertToPercentage(0.5));
0 commit comments