https://github.com/samiurrahmanmukul/javascript-cheatsheet
A comprehensive cheat sheet for JavaScript methods across different data types. This repository provides quick references for string, array, number, object and date methods in JavaScript. Each cheat sheet includes method names, code examples, expected results, and return types, making it a handy resource for developers seeking quick guidance.
https://github.com/samiurrahmanmukul/javascript-cheatsheet
cheatsheet javascript javascript-array javascript-array-methods javascript-cheatsheet javascript-date javascript-date-methods javascript-methods javascript-number javascript-number-methods javascript-object javascript-object-methods javascript-string javascript-string-methods js js-cheatsheet samiurrahmanmukul
Last synced: 3 months ago
JSON representation
A comprehensive cheat sheet for JavaScript methods across different data types. This repository provides quick references for string, array, number, object and date methods in JavaScript. Each cheat sheet includes method names, code examples, expected results, and return types, making it a handy resource for developers seeking quick guidance.
- Host: GitHub
- URL: https://github.com/samiurrahmanmukul/javascript-cheatsheet
- Owner: SamiurRahmanMukul
- License: apache-2.0
- Created: 2023-12-07T09:32:01.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-02T07:40:36.000Z (almost 2 years ago)
- Last Synced: 2025-05-16T16:12:35.156Z (5 months ago)
- Topics: cheatsheet, javascript, javascript-array, javascript-array-methods, javascript-cheatsheet, javascript-date, javascript-date-methods, javascript-methods, javascript-number, javascript-number-methods, javascript-object, javascript-object-methods, javascript-string, javascript-string-methods, js, js-cheatsheet, samiurrahmanmukul
- Homepage: https://github.com/SamiurRahmanMukul/JavaScript-Methods-CheatSheet
- Size: 338 KB
- Stars: 5
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Facebook][facebook-shield]][facebook-url]
[![Instagram][instagram-shield]][instagram-url]
[![Twitter][twitter-shield]][twitter-url]
[![LinkedIn][linkedin-shield]][linkedin-url]
[![Github][github-shield]][github-url]
## JavaScript Fundamentals
- [Variables 🚀](https://github.com/SamiurRahmanMukul/JavaScript-Methods-CheatSheet/tree/main/javascript-variables)
- [Operators 🚀](https://github.com/SamiurRahmanMukul/JavaScript-Methods-CheatSheet/tree/main/javascript-operators)
- [Functions 🚀](https://github.com/SamiurRahmanMukul/JavaScript-Methods-CheatSheet/tree/main/javascript-functions)
- [Loops 🚀](https://github.com/SamiurRahmanMukul/JavaScript-Methods-CheatSheet/tree/main/javascript-loops)
- [OOP 🚀](https://github.com/SamiurRahmanMukul/JavaScript-Methods-CheatSheet/tree/main/javascript-oop)
- [TypeScript 🚀](https://github.com/SamiurRahmanMukul/JavaScript-Methods-CheatSheet/tree/main/learn-typescript)# JavaScript Methods CheatSheet
## Strings
- **charAt(index):** Returns the character at the specified index.
- **concat(...strings):** Combines two or more strings.
- **toUpperCase():** Converts a string to uppercase.
- **toLowerCase():** Converts a string to lowercase.
- **trim():** Removes whitespace from both ends of a string.
- [Learn more 🚀](https://github.com/SamiurRahmanMukul/JavaScript-Methods-CheatSheet/tree/main/string-methods)## Arrays
- **push(...elements):** Adds one or more elements to the end of an array.
- **pop():** Removes the last element from an array.
- **join(separator):** Joins all elements of an array into a string.
- **slice(start, end):** Extracts a portion of an array.
- [Learn more 🚀](https://github.com/SamiurRahmanMukul/JavaScript-Methods-CheatSheet/tree/main/array-methods)## Numbers
- **toFixed(digits):** Formats a number using fixed-point notation.
- **toPrecision(precision):** Formats a number to a specified precision.
- **parseInt(string, radix):** Parses a string and returns an integer.
- [Learn more 🚀](https://github.com/SamiurRahmanMukul/JavaScript-Methods-CheatSheet/tree/main/number-methods)## Objects
- **keys():** Returns an array of a given object's property names.
- **values():** Returns an array of a given object's property values.
- **hasOwnProperty(prop):** Returns a boolean indicating whether the object has the specified property.
- [Learn more 🚀](https://github.com/SamiurRahmanMukul/JavaScript-Methods-CheatSheet/tree/main/object-methods)## Dates
- **getDate():** Returns the day of the month.
- **getMonth():** Returns the month (0-11).
- **getFullYear():** Returns the year.
- **toLocaleDateString():** Returns a string representing the date.
- [Learn more 🚀](https://github.com/SamiurRahmanMukul/JavaScript-Methods-CheatSheet/tree/main/date-methods)
HAPPY CODING 😄 & I 💖 PROGRAMMING[facebook-url]: https://www.faceook.com/SamiurRahmanMukul
[instagram-url]: https://www.instagram.com/samiur_rahman_mukul
[twitter-url]: https://www.twitter.com/SamiurRahMukul
[linkedin-url]: https://www.linkedin.com/in/SamiurRahmanMukul
[github-url]: https://www.github.com/SamiurRahmanMukul[facebook-shield]: https://img.shields.io/badge/-Facebook-black.svg?style=flat-square&logo=facebook&color=555&logoColor=white
[instagram-shield]: https://img.shields.io/badge/-Instagram-black.svg?style=flat-square&logo=instagram&color=555&logoColor=white
[twitter-shield]: https://img.shields.io/badge/-Twitter-black.svg?style=flat-square&logo=twitter&color=555&logoColor=white
[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=flat-square&logo=linkedin&colorB=555
[github-shield]: https://img.shields.io/badge/-Github-black.svg?style=flat-square&logo=github&color=555&logoColor=white