Search

Nalezeno "methods": 163

Array.prototype.at


Working with arrays is an essential skill in any programming language, especially JavaScript, as we continue to rely on external data APIs. JavaScript has added methods like find and `findIndex recently, but one syntax I love from languages like Python is retrieving values by negative indexes. When...

A New Academic Paper Describes 3 Attack Methods Against an Ethereum PoS Chain


Following the Altair upgrade on the Ethereum network, the protocol’s native cryptocurrency reached a new all-time price high. Altair is the next step for the Ethereum’s network’s proof-of-stake (PoS) transition. However, a recently submitted white paper explains that a group...

Cash (Tiny jQuery Alternative)


The README for Cash is straightforward: Cash is an absurdly small jQuery alternative for modern browsers (IE11+) that provides jQuery-style syntax for manipulating the DOM. Utilizing modern browser features to minimize the codebase, developers can use the familiar chainable methods … The...

Comparing Methods for Appending and Inserting With JavaScript


Let’s say we want to add something to a webpage after the initial load. JavaScript gives us a variety of tools. Perhaps you’ve used some of them, like append, appendChild, insertAdjacentHTML, or innerHTML. The difficult thing … The post Comparing Methods for Appending...

Three Different Possible Bitcoin Adoption Methods in Global Context


Disclaimer: The text below is an advertorial article that was not written by Cryptonews.com journalists. This year, El Salvador became the first country in the world to legalise Bitcoin as a form of payment, according to the latest reports. Reactions in the capital San Salvador were mixed. Some...

React usePrevious Hook


Hooks are essential for the functional component pattern in React. One frequent logic comparison with class components was comparing a previous prop value with a current prop value via lifecycle methods. So what’s an easy pattern for duplicating previous value comparisons in functional...

WooCommerce With Apple Pay and Google Pay


(This is a sponsored post.) Got a WooCommerce store? It behooves you to offer a variety of payment methods. Just anecdotally, I’m sure both you and me have been annoyed and even abandoned purchases when a merchant, online or … The post WooCommerce With Apple Pay and Google Pay appeared...

Australian Regulator Seeks Advice on Crypto-Related Assets


The Australian Securities and Investments Commission (ASIC) recently opened a consultation for establishing methods and best practices for regulating crypto assets. The consultation paper seeks guidance on which crypto-assets should qualify as underlying assets, and how to make this determination....

Localbitcoins Adds Bitcoin Cash and Other Cryptocurrencies as Payment Methods


Localbitcoins, one of the biggest P2P exchanges in the world, has added Bitcoin Cash and other cryptocurrencies as payment methods to acquire Bitcoin on its platform. This marks a clear departure from the earlier position of the company, which hadn’t added new payment methods and had remained...

Links on Performance


Making GitHub’s new homepage fast and performant — Tobias Ahlin describes how the scrolling effects are done more performantly thanks to IntersectionObserver and the fact that it avoids the use of methods that trigger reflows, like getBoundingClientRect. Also, … The post Links...

Object.entries


Navigating and managing data structures is a really important skill for every level of engineer to have and improve upon. Over the years, the JavaScript language has continued to provide more methods for managing data structures, from Object.keys to Object.values and so on. One of my favorites...

Nahoru
Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tímto souhlasíte. Další informace