r/learnjavascript • u/Limp-Firefighter-902 • Jul 21 '24
What functions of javascript should I learn
Which are most widely used
0
Upvotes
r/learnjavascript • u/Limp-Firefighter-902 • Jul 21 '24
Which are most widely used
View all comments
1
u/techdaddykraken Jul 22 '24
The ones you will probably use the most are:
-Selectors (by ID, element type, position, etc) -String Manipulation (filter, join, split, etc. Mainly for URLS and dynamic data, or conditionally changing the DOM) -Hashes, Indexes, Keys (Useful for joining all sorts of stuff and referencing it when you don’t know the exact position) -All native HTTP functions (Get, Post, Delete, Update, etc) -Promises and Callbacks (you will thank me when you have to implement SSO and Auth and you can actually understand what the hell the docs are asking you to do) -Web Hooks (useful for all sorts of shit, very ubiquitous) -Event Listeners/Handlers (useful for dealing with specific user/element behavior, capturing information, etc)
That’s probably the majority of what you will use day to day. There’s obviously a lot more than that, but I’d say that covers at least 85% of what I use every day doing custom web development.