Express - Sample Interview Question (Junior Level)

Consider the below Node.js code, what will be the response when invoking the following URL


var express = require('express');
var app = express();
app.get('/viewStocks/:symbol', function(req, res){
  res.send('First Response');
app.get('/viewStocks/addUsertoView', function(req, res){
  res.send('Second Response');

  1. First Response
  2. Second Response
  3. Empty page
  4. None of the above
Tests in Express for Juniors

Test Name Difficulty Time (minutes) No. of Questions
Express Online Test for Juniors Express Junior 20 10