Javascript Method

JavaScript Method Array Methods Adds one or more elements to the end of an array. push(): Removes the last element from an array. pop(): Removes the first element from an array. shift(): Adds one or more elements to the beginning of an array. unshift(): Returns a shallow copy of a portion of an array. slice(): Changes the contents of an array by removing or replacing existing elements. splice(): Returns the first index at which a given element is found in the array. indexOf(): Calls a function for each element in the array. forEach(): Creates a new array with the results of calling a provided function on every element in the array. map(): Creates a new array with all elements that pass the test implemented by the provided function. filter(): Applies a function against an accumulator and each element in the array (from left to right) to reduce it to a single value. reduce(): String Methods Combines two or more strings. concat(): Returns the character at the specified index. charAt(): Returns the index within the calling string object of the first occurrence of the specified value. indexOf(): Returns the part of the string between the start and end indexes. substring(): Extracts a section of a string and returns it as a new string. slice(): Converts a string to uppercase. toUpperCase(): Converts a string to lowercase. toLowerCase(): Removes whitespace from both ends of a string. trim(): Object Methods Returns an array of a given object's own property names. Object.keys(): Returns an array of a given object's own enumerable property values. Object.values(): Returns an array of a given object's own enumerable property [key, value] pairs. Object.entries(): Math Methods ...

November 23, 2023 · 2 min · 365 words · kidtz

Triv Gift

Repository -> https://github.com/arywr/triv-gift/tree/main

May 18, 2023 · 1 min · 3 words · kidtz

Improduction

Website -> https://improduction.io/ Repository -> https://github.com/arywr/dreamteam-new

May 18, 2023 · 1 min · 6 words · kidtz

Mpustaka Full Page v1.2

Demo -> https://manggala-pustaka.netlify.app/

May 18, 2023 · 1 min · 3 words · kidtz

Summit

May 18, 2023 · 0 min · 0 words · kidtz