Archives:





Text Tools












Ternary Converter



---------------
leonardomso/33-js-conceptsThis repository was created with the intention of helping developers master their concepts in JavaScript. It is not aā€¦github.comCall stack - MDN Web Docs Glossary: Definitions of Web-related terms MDNA call stack is a mechanism for an interpreter (like the JavaScript interpreter in a web browser) to keep track of itsā€¦developer.mozilla.orgUnderstanding Javascript Function Executionsā€Šā€”ā€ŠCall Stack, Event Loop , Tasks & moreWeb developers or Front end engineers, as that's what we like to be called, nowadays do everything right from acting asā€¦medium.comUnderstanding the JavaScript call stackThe JavaScript engine (which is found in a hosting environment like the browser), is a single-threaded interpreterā€¦medium.freecodecamp.org Javascript: What Is The Execution Context? What Is The Call Stack?What is the Execution Context in Javascript? I bet you don't know the answer. What are the most basic components of aā€¦web.archive.orgUnderstanding Execution Context and Execution Stack in JavascriptUnderstanding execution context and stack to become a better Javascript developer.blog.bitsrc.io
JavaScript data types and data structures - JavaScript MDNProgramming languages all have built-in data structures, but these often differ from one language to another. Thisā€¦developer.mozilla.orgHow numbers are encoded in JavaScriptEdit description2ality.comHere is what you need to know about JavaScript's Number typeWhy 0.1+0.2 IS NOT equal to 0.3 and 9007199254740992 IS equal to 9007199254740993medium.comWhat Every JavaScript Developer Should Know About Floating Point NumbersAfter I gave my talk on JavaScript (really, I was there trying to shamelessly plug my book - Underhanded JavaScript andā€¦blog.chewxy.comThe Secret Life of JavaScript PrimitivesYou may not know it but, in JavaScript, whenever you interact with string, number or boolean primitives you enter aā€¦javascriptweblog.wordpress.com
JavaScript Reference and Copy Variables Hacker NoonEach programming language has its own peculiarities (and JavaScript has a lot), and today I'm going to talk aboutā€¦hackernoon.comJavaScript Primitive vs. Reference ValuesSummary: in this tutorial, you will learn the differences between primitive and reference values. In JavaScript, aā€¦www.javascripttutorial.netJavaScript by reference vs. by valueI'm looking for some good comprehensive reading material on when JavaScript passes something by value and when byā€¦stackoverflow.comJavaScript Interview Prep: Primitive vs. Reference Typesoriginal article In a JavaScript interview, they might ask if you understand the difference between primitive andā€¦dev.toWhat you need to know about Javascript's Implicit CoercionJavascript's implicit coercion simply refers to Javascript attempting to coerce an unexpected value type to theā€¦dev.to
Javascript Coercion ExplainedAlong with some practical exampleshackernoon.comWhat exactly is Type Coercion in Javascript?Let's start with a short intro to type systems which I think will help you understand the general idea of typeā€¦stackoverflow.comhttps://thedevs.network/*Weak dynamic typing is arguably one of those things everybody likes to pick at about JavaScript. For an elegant dynamicā€¦*thedevs.networkgetify/You-Dont-Know-JSA book series on JavaScript. @YDKJS on twitter. Contribute to getify/You-Dont-Know-JS development by creating anā€¦github.comJavaScriptā€Šā€”ā€ŠDouble Equals vs. Triple EqualsLearn equality in JavaScript in 3 minutescodeburst.io
Why Use the Triple-Equals Operator in JavaScript? - Impressive Webs"Determining whether two variables are equivalent is one of the most important operations in programming." That'sā€¦www.impressivewebs.comWhat is the difference between == and === in JavaScript?_On the surface == and === appear to be functionally the same, so why bother typing an extra character? In this videoā€¦_www.oreilly.comWhy javascript's typeof always return "object"?To add in with the others, typeof returns both objects and primitives. There are 5 primitive types in javascriptā€¦stackoverflow.comChecking Types in JavascriptHave you ever wondered: what is the correct way to check if a Javascript variable is an Array? Do a Google search andā€¦tobyho.comHow to better check data types in javascript - WebbjockeTo check what data type something has in javascript is not always the easiest. The language itself provides an operatorā€¦webbjocke.com
A JavaScript Fundamentals Cheat Sheet: Scope, Context, and "this"Scope Scope refers to where a variable can be accessed within a program. Some variables can be accessed from anywhereā€¦dev.toQuick Tip: Function Expressions vs Function Declarations - SitePointThis article was peer reviewed by Jeff Mott. Thanks to all of SitePoint's peer reviewers for making SitePoint contentā€¦www.sitepoint.comJavaScript Functionā€Šā€”ā€ŠDeclaration vs ExpressionFunctions are considered as First Class citizen in JavaScript and it is really important to be clear with the conceptā€¦medium.comFunction Declarations vs. Function ExpressionsWhat is Function Statement/Declarations in JavaScript?medium.comFunction Declarations vs. Function ExpressionsLets start with a short quiz. What is alerted in each case?: Question 1: Question 2: Question 3: Question 4: If youā€¦javascriptweblog.wordpress.com
16. ModulesEdit descriptionexploringjs.comES modules: A cartoon deep-dive - Mozilla Hacks - the Web developer blogES modules bring an official, standardized module system to JavaScript. With the release of Firefox 60 in May, allā€¦hacks.mozilla.orgUnderstanding ES6 Modules - SitePointAlmost every language has a concept of modules - a way to include functionality declared in one file within anotherā€¦www.sitepoint.comAn overview of ES6 Modules in JavaScriptIntroduction Until recently if you wanted to take full advantage of modules in JavaScript you needed to make use ofā€¦blog.cloud66.comES6 Modules in DepthWelcome back to ES6 - "Oh, good. It's not another article about Unicode" - in Depth series. If you've never been aroundā€¦ponyfoo.com
How JavaScript works: Event loop and the rise of Async programming + 5 ways to better coding withā€¦Welcome to post # 4 of the series dedicated to exploring JavaScript and its building components. In the process ofā€¦blog.sessionstack.comTasks, microtasks, queues and schedulesEdit descriptionjakearchibald.comVisualising the JavaScript Event Loop with a Pizza Restaurant analogyConsider a pizza restaurant. There are two types of orders that we currently have from a single customer - one is anā€¦dev.toāœØā™»ļø JavaScript Visualized: Event LoopOh boi the event loop. It's one of those things that every JavaScript developer has to deal with in one way or anotherā€¦dev.toScheduling: setTimeout and setIntervalEdit descriptionjavascript.info
Understanding How the Chrome V8 Engine Translates JavaScript into Machine CodeBefore diving deep into the core of Chrome's V8, first, let's get our fundamentals down. All of our systems consist ofā€¦medium.freecodecamp.orgUnderstanding V8's BytecodeV8 is Google's open source JavaScript engine. Chrome, Node.js, and many other applications use V8. This articleā€¦medium.comA Brief History of Google's V8 JavaScript EngineJavascript has a reputation in developer circles as a terrible language. It's classless, loosely typed, and plagued byā€¦www.mediacurrent.comJavaScript essentials: why you should know how the engine worksThis article is also available in Spanish.medium.freecodecamp.orgJavaScript engine fundamentals: Shapes and Inline CachesThis article describes some key fundamentals that are common to all JavaScript engines - and not just V8, the engineā€¦mathiasbynens.be
JavaScript engine fundamentals: optimizing prototypesThis article describes some key fundamentals that are common to all JavaScript engines - and not just V8, the engineā€¦mathiasbynens.beElements kinds in V8Note: If you prefer watching a presentation over reading articles, then enjoy the video below! JavaScript objects canā€¦v8.devProgramming with JS: Bitwise OperationsIn this series of articles we take a look at different Computer Science topics from the prism of JavaScript. We'veā€¦hackernoon.comUsing JavaScript's Bitwise Operators in Real LifeLet's pretend we're machine code programmers!codeburst.ioJavaScript Bitwise Operators - w3resourceBitwise operators perform an operation on the bitwise (0,1) representation of their arguments, rather than as decimalā€¦www.w3resource.com
JavaScript DOM Tutorial with ExampleDetails JavaScript can access all the elements in a webpage making use of Document Object Model (DOM). In fact, the webā€¦www.guru99.comWhat is the DOM?A reader recently wrote in asking me what the DOM was. They said they've heard it mentioned and alluded to, but aren'tā€¦css-tricks.comTraversing the DOM with JavaScriptA good JavaScript developer needs to know how to traverse the DOM-it's the act of selecting an element from anotherā€¦zellwk.comDOM treeThe backbone of an HTML document is tags. According to the Document Object Model (DOM), every HTML tag is an objectā€¦javascript.infoHow to traverse the DOM in JavaScriptLearn how to navigate your way through the DOM tree.javascript.plainenglish.io
A Vanilla JS Guide On Mastering the DOMNote: The contents of this post are intended to be introductory and does not include use of any libraries like jQueryā€¦dev.toHow To Use Classes in JavaScript DigitalOceanJavaScript is a prototype-based language, and every object in JavaScript has a hidden internal property calledā€¦www.digitalocean.comJavascript Classesā€Šā€”ā€ŠUnder The HoodJavascript classes are nothing but a syntactic sugar over existing prototype based inheritance and constructorā€¦medium.comES6 Classes - JavaScript JanuaryObject-Oriented Programming (OOP) can be a great way to organize your projects. Introduced with ES6, the javascriptā€¦www.javascriptjanuary.comPractical Ways to Write Better JavaScriptSolid methods of improving your JS. Tagged with javascript, webdev, beginners, react.dev.to
Better JavaScript with ES6, Pt. II: A Deep Dive into ClassesOut with the Old, In with the new Let's be clear about one thing from the start: Under the hood, ES6 classes are notā€¦scotch.ioUnderstand the Factory Design Pattern in plain javascriptThe simplest way to understand Factory Design Patternmedium.comFactory Functions in JavaScript Aten Design GroupAs we move from an age of jQuery plugins and script drop-ins to a world of CommonJS and modular architectures it'sā€¦atendesigngroup.comThe Factory Pattern in JS ES6I'm trying to get the most out of all the new things in ES6 (ES2015). And I'm writing a new library where I need aā€¦medium.comClass vs Factory function: exploring the way forwardECMAScript 2015 (aka ES6) comes with the class syntax, so now we have two competing patterns for creating objects. Inā€¦medium.freecodecamp.org
Prototype in Javascript CodementorBy default every function has a property name as prototype which is EMPTY ( by default). We can add properties andā€¦www.codementor.ioPrototypes in JavaScriptIn this post, we will discuss what are prototypes in JavaScript, how they help JavaScript in achieving the concepts ofā€¦betterprogramming.pubPrototype in JavaScript: it's quirky, but here's how it worksThe following four lines are enough to confuse most JavaScript developers:medium.freecodecamp.orgUnderstanding JavaScript: Prototype and InheritanceDue to the amazing quantity of libraries, tools and all kinds of things that make your development easier, a lot ofā€¦hackernoon.comUnderstanding Classes (ES5) and Prototypal Inheritance in JavaScriptIn a nutshell the above snippet creates a Person class that can have multiple instances. By convention functionalā€¦dev.to
_Master JavaScript Prototypes & _Inheritance__\ Inheritancecodeburst.ioJavaScript's Prototypal Inheritance Explained Using CSSPrototypal inheritance is arguably the least understood aspect of JavaScript. Well the good news is that if youā€¦medium.freecodecamp.orgDemystifying ES6 Classes And Prototypal InheritanceIn the early history of the JavaScript language, a cloud of animosity formed over the lack of a proper syntax forā€¦scotch.ioIntro To Prototypal Inheritance - JSIn this article I will try to give an introduction to protypal inheritance. As an "optional" pre-requisite, you canā€¦dev.toLet's Build Prototypal Inheritance in JSThe idea for this post is pretty simple. I want to some extent build and with that, illustrate how prototypes work inā€¦dev.to
Understanding Prototypal Inheritance In JavaScriptWhat Is Object-oriented Programming (OOP) Classical vs Prototypal Inheritance The Prototype Object And The Prototypeā€¦dev.toObject.create() - JavaScript MDNThe Object.create() method creates a new object, using an existing object as the prototype of the newly created objectā€¦developer.mozilla.orgObject.assign() - JavaScript MDNThe Object.assign() method copies all enumerable own properties from one or more source objects to a target object. Itā€¦developer.mozilla.orgObject.create in JavaScriptThe Object.create method is one of the methods to create a new object in JavaScript.medium.comJavascript Objects A New Way to Create Objects HTML GoodiesThere are a lot of ways to create Objects in JavaScript, perhaps even more to integrate inheritance into them. Justā€¦www.htmlgoodies.com
JavaScript Object Creation: Patterns and Best Practices - SitePointJeff Mott guides you through a step-by-step approach to JavaScript object creation - from object literals to factoryā€¦www.sitepoint.comDealing With Objects in JavaScript With Object.assign, Object.keys and hasOwnProperty ā€¦This post is a sort of grab bag to help you explore a few very useful methods to help you manage your objects inā€¦alligator.ioCopying Objects in JavaScript DigitalOceanObjects are the fundamental blocks of JavaScript. An object is a collection of properties, and a property is anā€¦scotch.ioJavaScript: Object.assign()Veja nesse artigo como utilizar o Object.assign() do ECMAScript 6codeburst.ioHow to deep clone a JavaScript objectCopying objects in JavaScript can be tricky. Some ways perform a shallow copy, which is the default behavior in most ofā€¦flaviocopes.com
How to Use Map, Filter, and Reduce in JavaScriptFunctional programming has been making quite a splash in the development world these days. And for good reasonā€¦code.tutsplus.comJavaScriptā€Šā€”ā€ŠLearn to Chain Map, Filter, and ReduceLearn how to chain map, filter, and reduce in JavaScriptcodeburst.ioUnderstanding map, filter and reduce in JavascriptWhen working on Javascript projects you inevitably come across situations where you have to do some data manipulationā€¦hackernoon.comFunctional Programming in JS: map, filter, reduce (Pt. 5)Note: This is part of the "Javascript and Functional Programming" series on learning functional programming techniquesā€¦hackernoon.comJavaScript: Map, Filter, ReduceJavaScript's built-in map, filter, and reduce array methods are invaluable to a modern JavaScript developer. Firstā€¦wsvincent.com
A simple guide to help you understand closures in JavaScriptClosures in JavaScript are one of those concepts that many struggle to get their heads around. In the followingā€¦medium.freecodecamp.orgUnderstanding JavaScript Closures: A Practical ApproachLearning a new language involves a series of steps, whereas its mastery is a product of patience, practice, mistakesā€¦scotch.ioUnderstanding JavaScript: ClosuresWhy learn JavaScript in depth?hackernoon.comHow to use JavaScript closures with confidenceUsing closures will be a piece of (chocolate) cakehackernoon.comJavaScript Closures by ExampleAt some point you may have run into a problem when executing functions from within a for loop. The first time itā€¦howchoo.com
Higher-Order Functions :: Eloquent JavaScriptTzu-li and Tzu-ssu were boasting about the size of their latest programs. 'Two-hundred thousand lines,' said Tzu-liā€¦eloquentjavascript.netHigher-Order Functions in JavaScript - SitePointContinuing his look at functional programming in JavaScript, M. David Green examines higher-order functions and howā€¦www.sitepoint.comHigher Order Functions: Using Filter, Map and Reduce for More Maintainable CodeHigher order functions can help you to step up your JavaScript game by making your code more declarative. That isā€¦medium.freecodecamp.orgFirst-class and Higher Order Functions: Effective Functional JavaScriptFunctions: the killer JavaScript feature we never talk about.hackernoon.comHigher Order Functions in JavaScriptHigher-order functions can be intimidating at first, but they're not that hard to learn. A higher-order function isā€¦www.lullabot.com
ES6 Promises: Patterns and Anti-PatternsWhen I first got started with NodeJS a few years ago, I was mortified by what is now affectionately known as "callbackā€¦medium.comA Simple Guide to ES6 PromisesThe woods are lovely, dark and deep. But I have promises to keep, and miles to go before I sleep.ā€Šā€”ā€ŠRobert Frostcodeburst.ioThe ES6 PromisesA very helpful feature in ES6codeburst.ioES6 Promises in DepthPromises are a very involved paradigm, so we'll take it slow. Here's a table of contents with the topics we'll cover inā€¦ponyfoo.comJavascript Promises: An In-Depth Approach"Write down the syntax for promises on this sheet of paper", is enough to give nightmares to a lot of junior and evenā€¦codeburst.io
Promises - JavaScript conceptsThis is part of a series where I try to explain through each of 33 JS Concepts. This part corresponds to Promisesā€¦dev.toJavascript Promise 101Knowing how Promise works in javascript will boost your development skill exponentially. Here I will share: I promiseā€¦dev.toSimplify JavaScript PromisesI love promises. Not from people, but from JavaScript. Tweet Quote I love promises. Not from people, but fromā€¦dev.toThe Lowdown on PromisesA quick and concise guide on how Promises work in JavaScriptmedium.comā­ļøšŸŽ€ JavaScript Visualized: Promises & Async/AwaitEver had to deal with JS code that justā€¦ didn't run the way you expected it to? Maybe it seemed like functions gotā€¦dev.to
How to escape async/await hellasync/await freed us from callback hell, but people have started abusing itā€Šā€”ā€Šleading to the birth of async/await hell.medium.freecodecamp.orgUnderstanding JavaScript's async awaitLet's suppose we had code like the following. Here I'm wrapping an HTTP request in a Promise. The promise fulfills withā€¦ponyfoo.comJavaScript Async/Await: Serial, Parallel and Complex Flow - TechBrijIf you have experience on ASP.NET MVC then probably you are familiar with async/await keywords in C#. The same thing isā€¦techbrij.comFrom JavaScript Promises to Async/Await: why bother?In this tutorial, we will cover why we need async/await when we could achieve the same fit with JavaScript Promises, toā€¦blog.pusher.comFlow Control in Modern JS: Callbacks to Promises to Async/Await - SitePointJavaScript is regularly claimed to be asynchronous. What does that mean? How does it affect development? How has theā€¦www.sitepoint.com
Time Complexity Analysis in JavaScriptAn algorithm is a self-contained step-by-step set of instructions to solve a problem. It takes time for these steps toā€¦www.jenniferbland.comAlgorithms in plain English: time complexity and Big-O notationEvery good developer has time on their mind. They want to give their users more of it, so they can do all those thingsā€¦medium.freecodecamp.orgAn Introduction to Big O NotationBig O notation is a big topic, and its universal importance stems from the fact that it describes the efficiency ofā€¦dev.to[Crizstian/data-structure-and-algorithms-with-ES6Num Type Exercises Description 10.- Graph Data Structure 2 A graph consists of a set of vertices and a set of edges. Aā€¦github.com](https://github.com/Crizstian/data-structure-and-algorithms-with-ES6 "https://github.com/Crizs