xxxxxxxxxx
1. Open "developers Tool" on Chrome
2. Open the Console tab
3. past the Javascript code and press enter.
You can output the resutls witb console.log() function.
An example code to paste and run in your browser console:
function sum (a,b) {
return a + b;
}
console.log( sum(10,5) );