30秒学会 JavaScript 片段 – show
Shows all the elements specified. Use the spread operator (…) and Array.prototype.forEach() to cle...
Shows all the elements specified. Use the spread operator (…) and Array.prototype.forEach() to cle...
Capitalizes the first letter of every word in a string. Use s.title() to capitalize first letter of ...
Filters an array’s values based on a predicate function, returning only values for which the p...
Returns true if at least one function returns true for a given set of arguments, false otherwise. Us...
Creates a pulse effect loader animation using the animation-delay property. Use @keyframes to define...
Returns a function that is the logical complement of the given function, fn. Use the logical not (!)...
Hides all the elements specified. Use NodeList.prototype.forEach() to apply display: none to each el...
Returns the nth element of a list. Check if lst has a length greater than n, use lst[n] if possible ...
Checks if a string is lower case. Convert the given string to lower case, using string.ToLower() and...
Converts a string to kebab case. Use strings.Fields() to get the words in the string, strings.Join()...