Prototypes In JavaScriptWhat is Prototype ? Prototype in JavaScript is an object from which other objects can inherit the properties and methods. for example const myObject = { city: "Madrid", greet() { console.log(`Greetings from ${this.city}`); }, }; Object.get...Oct 11, 2025·3 min read
Function Definition Vs Function DeclarationFunction Declaration Function Declaration is a practice in which a function is created with a function keyword and can be called before the actual function is being written. //function declaration myFunction(); function myFunction(){ console.log("Fun...Oct 9, 2025·1 min read
App Write Invalid URL ErrorHello friends, hope you all are doing well. This post will be short and straight forwarded regarding this problem when it comes to add a file to the Appwrite bucket. The approach is kind of naïve since I followed the documentation straight forwardly....Sep 23, 2024·2 min read
Javascript String methodsJavaScript provides a variety of methods for manipulating and working with strings. Here is a comprehensive list of the commonly used string methods: String Creation Methods String(): Creates a new String object. Character Methods charAt(index): R...Jul 23, 2024·3 min read
Stack Memory and Heap Memory in JavascriptIn JavaScript, stack and heap memory are used to manage the allocation and deallocation of memory for variables, objects, and functions. Here's a concise overview: Stack Memory Characteristics: Fast Access: Memory allocation and deallocation follow ...Jul 23, 2024·2 min read
Types Of Datatypes in JavascriptPrimitive Primitive datatypes includes: Number: For storing any numeric values const score = 100; Boolean: For storing any value in form of true and false const isExist = true; String: For storing any strings const stringName = "Any string...Jul 23, 2024·1 min read
Some Tricky Conversion in JSStrings and Number In JavaScript, the + operator is used for both addition and string concatenation. The behavior of the expressions "2" + 1 + 1 and 2 + 1 + "2" differs because of the order in which the operations are evaluated and the types of the o...Jul 11, 2024·2 min read