30秒学会 JavaScript 片段 – toPairs
Creates an array of key-value pair arrays from an object or other iterable (object, array, string, s...
Creates an array of key-value pair arrays from an object or other iterable (object, array, string, s...
*ngIf directive also supports else statement. <div *ngIf=”isLoading; else notLoading”>loading....
Returns true if both functions return true for a given set of arguments, false otherwise. Use the lo...
Returns all indexes of a given element in the collection, or [-1] if it is not present. Use reflect....
Capitalizes the first letter of a string. Capitalize the first letter of the string and then add it ...
It is possible to add global event listeners in your Components/Directives with HostListener. Angula...
It is possible to use SVG tags in your Angular component, to create beautiful graphs and visualizati...
Initializes and fills a list with the specified value. Use list comprehension and range() to generat...
Creates a function that invokes fn with partials appended to the arguments it receives. Use the spre...
Checks if the first integer argument is divisible by the second one. Use the modulo operator (%) to ...