Create a switch operator inside the function getSalary. It should show the following text in the console.log depending on the values:
| value | text in console.log |
|
"Bootstrap" |
$15 per hour |
|
"Chrome Extension" |
$20 per hour |
|
"React" |
$30 per hour |
|
other cases |
$25 per hour |