Error occurring when implementing NodeJS
<p>I am quite new to NodeJS so this task is my beginning steps to my NodeJS training. I am having a problem which I do not understand at all. A simple help would be great for me to move forward. </p>

<p>This is my code </p>

<pre><code>var rect = {
perimeter: function (x,y) {
       return (2*(x+y));
},
area: function (x,y) {
        return (x*y);
}
};

function solveRect(l,b) {
console.log("Solving for rectangle with l = " + l + " and b = " + b);

if (l &lt; 0 || b &lt; 0) {
    console.log("Rectangle dimensions should be greater than zero:  l = " + l + ",  and b = " + b);
}
else {
console.log("The area of a rectangle of dimensions length = " + l + " and breadth = " + b + " is " + rect.area(l,b));
console.log("The perimeter of a rectangle of dimensions length = " + l + " and breadth = " + b + " is " + rect.perimeter(l,b));
}
}

solveRect(2,4);
solveRect(3,5);
solveRect(-3,5);
</code></pre>

<p>The error I am having is </p>

<pre><code>console.log("The area of a rectangle of dimensions length = " + l + " and 
                                                                        ^^^^^^
SyntaxError: Unexpected token ILLEGAL
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)
at startup (node.js:139:18)
at node.js:968:3
</code></pre>