Your solutions should be placed inside app/exercise1.js file(inside window.exercise1 object).
It returns a string with numbers in the descending order and separated by ' ' (space). If the
numberFrom is lower than the
numberTo , it returns false. If the parameters aren't numbers, it should also return false.
It removes all the occurrences of the
string in an
array of strings. It returns the update
array of strings.
It returns a number of String elements in the
It squares the value of every odd number inside the
array. It returns an update array and leaves the rest of items unaffected.
It calculates the area of a trapezoid. If the parameters are incorrect the function should return false.
To run jshint:
To start developing unit tests
To run tests and static analysis