25 lines
488 B
JavaScript
25 lines
488 B
JavaScript
/**
|
|
* ===== Troubleshooting =====
|
|
* The function below should log the number 2, however it does not,
|
|
* see if you can fix it!
|
|
* Be sure to fix it in the spirit of the code, do not hard code the result.
|
|
*/
|
|
|
|
function troubleshooting() {
|
|
const a = 1;
|
|
const b = 1;
|
|
|
|
let result;
|
|
|
|
// Edit between these lines
|
|
// =================================
|
|
result = "a" + "b";
|
|
|
|
// =================================
|
|
|
|
return result;
|
|
}
|
|
|
|
// Do not change this
|
|
module.exports = troubleshooting;
|