Function.prototype.bind2 = function() {

const arg = Array.from(arguments)

const one = arg.shift()

const self = this

return function() {

self.call(one, arg)

}

}

Const res = fn.bind2({title: ‘name ‘})

res()

This is determined at execution time, and the scope is determined at function definition time

Two ways to convert class arrays

const arg = Array.from(arguments)

Const arg = Array. Prototype. Slice. The call (the arguments) by changing this refers to

I++ plus,

Remove the floating

.clearFix{

   &::after{

     content: ”;

     display: table;

     clear: both;

   }

}

The Grail layout mainly uses padding, and the dual-wing layout uses margin negative values

Margin-top and margin-bottom of adjacent elements overlap

Line-height: if set to a percentage then inherited the percentage value, if 1.5 that is 1.5 times the current element’s font size

1. Identify the structure of knowledge system

2. Deliberate practice

3. Give feedback

Typeof cannot determine reference data types

When to use === and when to use ==

== Determines the case of undefined and NULL