Thanga Ganapathyganapathy.hashnode.dev·Apr 15, 2024You Don’t Need JavaScript Native MethodsWelcome, I'm sure you have come across something like, you don't need Lodash, Underscore or Ramda, but this is the opposite. When ES6 came, people got excited and started using native JS methods instead of using utility lib functions for various reas...DiscussJavaScript
K Subramanyeshwaraksubramanyeshwara.hashnode.dev·Apr 8, 2024String it on: Mastering JavaScript Strings Methods...!A string is a sequence of characters. It contains zero or more characters within single (' '), double (" "), or backticks (``). Strings can contain letters, numbers, symbols, and special characters. We have studied strings in the previous blog. Let u...Discuss·10 likesJavaScript
Buddhabuds.hashnode.dev·Apr 2, 2024JavaScript built-in MethodsComing from very different background and profession, like many of you I’ve never coded before. I’ve wanted to learn to code for a long time, but I never had a clear road map to start with. The time has finally come in my late 30’s, and now here I am...DiscussJavaScript
Adarsh Dabraladarshdabral.hashnode.dev·Mar 31, 2024Methods of Dictionaries in PythonIntroduction: Python dictionaries have got methods which are like superpowers of superheroes. Let's explore some of the powerful methods that come built-in with dictionaries in Python. 1. get(): Accessing Values SafelyThis helps you grab something fr...Discuss·50 readspython dictionaries
Chetan Dattachetan77.hashnode.dev·Mar 30, 202404 Java - MethodsWhat is Method? Method is used to perform certain task. It's a collection of instruction that perform some specific task It can be used to bring the code readability and re-usability. public class Calculation { public int sum(int val1, int ...DiscussJavaJava
Adityaraj Honraopatiladityarajhblog.hashnode.dev·Mar 27, 2024Learning JavaScript: Day 4 (Objects, Methods & Classes)A longer session today. We have tried to remain disciplined, but couldn’t due to work commitments. So we learned about “Objects” today. I have worked with them before with C++. But learnt how they are treated in JS like. So the key takeaways were: PA...DiscussJavaScript
Aqiraqirlone.hashnode.dev·Mar 27, 2024Common Array Methods in Ruby: A Comprehensive OverviewAn extensive list of array methods in Ruby along with code examples for each: 1. Adding and Removing Elements: - << or push: Adds an element to the end of the array. array = [1, 2, 3] array << 4 array.push(5) unshift: Adds an element to the beginning...Discuss·63 readsRuby
Samfor11pmCoders11pmcoders.hashnode.dev·Mar 21, 2024ExpressJS send methodwhile I was learning NodeJS I saw this piece of code. import express from 'express'; const app = express(); //routes app.get('/', (req, res) => { res.send('<h1>Hello World</h1>'); }); app.listen(3000, () => { console.log('App is running on po...Discussappraoches
Jemin Kikanijemin.hashnode.dev·Feb 29, 2024Day 6 : what is an Math Methods And Number Methods in javascript ?The syntax for Math any methods is : Math.method(number) Math.round():- Math.round(x) returns the nearest integer. Example:- Math.round(4.6); // 5 Math.round(4.3); // 4 Math.ceil():- Math.ceil(x) returns the value of x rounded up to its nearest...Discussmath.cos()
Jemin Kikanijemin.hashnode.dev·Feb 28, 2024Day 5 : how many String Methods in javascript with example ?● String length ● String slice() ● String substring() ● String substr() ● String replace() ● String replaceAll() ● String toUpperCase() ● String toLowerCase() ● String concat() String Length:- ● String trim() ● String trimStart() ● String tr...DiscusspadEnd()