This repository contains examples of the most commonly used JavaScript methods.
Each folder groups related methods with practical code samples and explanations.
The goal is to help beginners and developers learn, practice, and revise JavaScript essentials in a structured way.
- array-methods/ → Covers methods like
find
,concat
,join
,splice
,slice
,indexOf
,flat
,some
,every
,sort
, and more. - string-methods/ → Common string methods like
split
,toUpperCase
,toLowerCase
,replace
,includes
, etc. - object-methods/ → Methods for working with objects such as
keys
,values
,entries
,assign
, andhasOwnProperty
. - date-methods/ → Useful date methods like
getDate
,getDay
,getFullYear
,setDate
, andtoISOString
. - Math-methods/ → Math operations including
round
,floor
,ceil
,random
,max
, andmin
. - DOM-methods/ → Browser DOM methods like
getElementById
,querySelector
,createElement
, and event handling.