Lingquan | Blog

Lingquan | Blog

Truth needs no colour. Beauty, no pencil.

Javascript Summary
forEach() VS map() VS (for..in) VS (for…of) Both they will call a provided function on each element in given array. However, the forEach() method doesn’t return anything (undefined), the map() method will return a new Array of the same size. forEach() can be used by map, set and array, map just...
HTML/CSS Summary
HTMLHTML SemanticSemantic HTML is HTML that introduces meaning to the web page rather than just presentation. For example, a tag indicates that the enclosed text is a paragraph. This is both semantic and presentational, because people know what paragraphs are and browsers know how to display the...
avatar
Lingquan Han
Keep Learning, Keep Running