wilfredinni / javascript-cheatsheet Goto Github PK
View Code? Open in Web Editor NEWAll-inclusive Javascript cheatsheet
Home Page: https://www.javascriptcheatsheet.org
License: MIT License
All-inclusive Javascript cheatsheet
Home Page: https://www.javascriptcheatsheet.org
License: MIT License
Thank you!
The ++ and -- ops work differently depending on whether they're placed before or after the variable.
Say you make x=1.
If you run "y = ++x", then both x and y would be 2;
If you ran "y = x++", then y would be 1 and x would be 2.
Issue: Enhancement - Add JavaScript Math Object Methods to Cheatsheet
Description:
The current JavaScript cheatsheet is a valuable resource, but it's missing essential information regarding the JavaScript Math object and its methods. This issue proposes adding essential Math object methods to enhance the cheatsheet's completeness and usefulness.
JavaScript Math Object Methods to Add:
Math.sin(x)
: Returns the sine of x.Math.cos(x)
: Returns the cosine of x.Math.tan(x)
: Returns the tangent of x.Math.random()
: Returns a pseudo-random number between 0 and 1.Math.round(x)
: Rounds a number to the nearest integer.Math.max(x, y, ...)
: Returns the largest of zero or more numbers.Math.min(x, y, ...)
: Returns the smallest of zero or more numbers.Math.abs(x)
: Returns the absolute value of x.Benefits:
Example Usage:
const angle = Math.PI / 4;
const sineValue = Math.sin(angle);
console.log(`The sine of ${angle} is ${sineValue}`);
Hello I would like to add a new topic called ES6 tips and tricks to make your code shorter, clean code, and easier to read by a developer. Thank you
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
@vue/compiler-dom
, vue
)@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
)package.json
@docsearch/js ^3.6.0
@headlessui/vue ^1.7.19
@vueuse/core ^10.9.0
@vueuse/head ^2.0.0
pinia ^2.1.7
prism-theme-vars ^0.2.4
vue ^3.4.21
vue-router ^4.3.0
@tailwindcss/forms ^0.5.7
@tailwindcss/typography ^0.5.12
@types/fs-extra ^11.0.4
@types/markdown-it ^14.0.1
@types/markdown-it-link-attributes ^3.0.5
@types/node ^20.12.7
@types/string 0.0.34
@typescript-eslint/eslint-plugin ^6.21.0
@typescript-eslint/parser ^6.21.0
@vitejs/plugin-vue ^5.0.4
@vue/compiler-dom 3.4.21
@vue/test-utils ^2.4.5
autoprefixer ^10.4.19
eslint ^8.57.0
eslint-config-prettier ^9.1.0
eslint-plugin-vue ^9.24.1
esno ^4.7.0
fs-extra ^11.2.0
happy-dom ^13.10.1
markdown-it ^14.1.0
markdown-it-anchor ^8.6.7
markdown-it-link-attributes ^4.0.1
markdown-it-prism ^2.3.0
ofetch ^1.3.4
postcss ^8.4.38
prettier ^3.2.5
prettier-plugin-tailwindcss ^0.5.13
prismjs ^1.29.0
string ^3.3.3
tailwindcss ^3.4.3
typescript ^5.4.5
unplugin-auto-import ^0.17.5
unplugin-vue-components ^0.26.0
unplugin-vue-markdown ^0.26.1
vite ^5.2.8
vite-plugin-pages ^0.32.1
vite-plugin-pwa ^0.19.8
vite-plugin-vue-layouts ^0.11.0
vite-ssg ^0.23.6
vite-ssg-sitemap ^0.6.1
vitest ^1.5.0
vue-tsc ^2.0.13
Your repository is awesome.
But checking the information, I couldn't find a very interesting feature of Javascript, which is Optional Chaining.
I would like to contribute to this incredible project by adding this Javascript feature.
Please assign this task to me.
Just a suggestion :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.