Payal Porwalcodeswithpayal.hashnode.dev·6 hours agoJavaScript Data Types: A Comprehensive Guide (With Examples)When learning JavaScript, one of the fundamental concepts to understand is data types. Data types define the kind of values a variable can hold. JavaScript is a dynamically typed language, meaning you don't need to specify a variable's type when decl...data types
Faizan Shaikhfaizanshaikh.hashnode.dev·Feb 10, 2025Unlocking the Power of Python: Modules & Libraries Explained!🏆 A Story of Python Superpowers! Imagine you’ve just stepped into Python City, a place where developers are superheroes! 🦸♂️🦸♀️ Every hero needs tools to solve problems, just like every coder needs functions to build applications. But what if yo...DSA
Ayush Rajputrajputayush.hashnode.dev·Feb 9, 202515. Function borrowing - call , apply , bindFunction borrowing allows us to use the methods of one object on a different object without having to make a copy of that method and maintain it in two separate places It is accomplished through the use of .call(), .apply(), or .bind(), all of which ...JavaScript
Sergey Shishkinserj-aleks.hashnode.dev·Feb 9, 2025need и +NeedКстати, в связи с предыдущим постом - английское “need“ можно перевести как немецкое “not”, но это так, к слову. А, вообще, в данном случае, лексемы в заголоке поста к друг другу никакого отношения не имеют, кроме как в “натуральном языке“. Во-первых...picolisp
Ayush Rajputrajputayush.hashnode.dev·Feb 8, 202511. Built-in Functions in JSString Built in Function MethodDescriptionExamples charAt(index)Returns the character at the specified index"Hello".charAt(1) → "e" concat(str1, str2, ...)Joins two or more strings"Hello".concat(" World") → "Hello World" includes(substring...JavaScript
Ayush Rajputrajputayush.hashnode.dev·Feb 7, 20259. Functions- Arrow, IIFE , Callbacks in JavaScriptFunctions are reusable blocks of code that perform specific tasks Function Statement function hello(a){ console.log("Hello",a); // hello undefined } hello() /// function call we call function anywhere Function Parameters: Default and Rest(…a...JavaScript
Indrajeetcodewords.hashnode.dev·Jan 31, 202550+ Crucial Questions on JavaScript Functions for CodersHello all fellow programmers, In this guide, you'll find a collection of 50+ function-related coding questions, designed to help you master key concepts and techniques. Each question is accompanied by a detailed answer, explaining the logic, steps, a...Interviews kitfunctions
Sergey Shishkinserj-aleks.hashnode.dev·Jan 28, 2025arg, args и argvАргумент? Элемент? Параметр? Токен? … Функции, которые могут использоваться только внутри функций с переменным числом аргументов. (с @) arg - возвращает cnt-й оставшийся аргумент. args - возвращает T, когда есть еще аргументы для извлечения из внутре...picolisp
Andrew Dassandrewdass.hashnode.dev·Jan 22, 2025Python: How to use the Lambda FunctionOverview This article will explain what a Lambda function is in Python, the syntax for it and how to use it. What is the Lambda Function The Lambda function is an expression that can be customized to take the keyword “lambda”, variables and a stateme...Python
Harshit BansalforTechStack Talestechstack-tales.hashnode.dev·Jan 21, 2025Closures, Functions & Event Listener in JavaScriptClosures Let’s see a code snippet first function x(){ var a = 7; function y(){ console.log(a); } y(); } x(); When we will run this program we know that the output is going to be 7 because when we are trying to access a from t...JavaScriptclosure