The following content requires points higher than 150 for you to view:
- Event bubbling
- CSS preprocessor
- Accessibility
- Promises and callbacks
coding: - Visually inspect the output results and follow up: Correct (both output 7)
var Foo = function (a) {
function bar () {
console.log(a)
}
this.baz = function () {
console.log(a);
}
}
Foo.prototype = {
biz: function () {
console.log(a);
}
}
var f = new Foo(7);
f.bar();
f.baz();
f.biz();
Copy code
endorsements = [
{skill: ‘js’, user: ‘john’},
{skill: ‘java’, user: ‘tom’},
{skill: ‘js’, user: ‘jack’},
{skill: ‘c’, user: ‘steven’},
]
===>
[
{skill: ‘js’, user: [‘john’, ‘jack’], count: 2},
{skill: ‘java’, user: [‘tom’], count: 1},
{skill: ‘c’, user: [‘steven’], count: 1},
]
To sort by count
3. html/css Given a picture of People You May Know, write html and css blindly (no effect is explicit)
Failed. Probably the senior position requirements are beyond my reach, HR mentioned that I am not as good as they had hoped.