- The menu title is set horizontally
- Fontsize is small
- The name of the picture is the same color tone with back ground color
- Font size, background color is not the same
- Menu Icon to big
| // check type args to return object | array | function | |
| function getType(obj) { | |
| const str = Object.prototype.toString.call(obj); | |
| const map = { | |
| '[object Boolean]': 'boolean', | |
| '[object Number]': 'number', | |
| '[object String]': 'string', | |
| '[object Function]': 'function', | |
| '[object Array]': 'array', | |
| '[object Date]': 'date', |
| // Implementation in ES6 | |
| function pagination(c, m) { | |
| var current = c, | |
| last = m, | |
| delta = 2, | |
| left = current - delta, | |
| right = current + delta + 1, | |
| range = [], | |
| rangeWithDots = [], | |
| l; |
| # Writing test | |
| ## Question 1: | |
| * list 1 | |
| * list 2 | |
| ## Question 4: | |
| ``` |