Question10.js
//called functions separately under the Hero function. As such, the function can be written as folows:
called functions separately under the Hero function. As such, the function can be written as folows.
called functions separately under the Hero function . As such the function can be written as folows .
function Hero(name, level)
{
  this.name = name(name);
  this.level = level(level);
}
function Hero ( name , level ) { this . name = name ( name ) ; this . level = level ( level ) ; }
called functions separately under the Hero function.
called functions separately under the Hero function .