#javascript
Read more stories on Hashnode
Articles with this tag
What is Caesar Cipher? In cryptography, a Caesar cipher, also known as Caesar's cipher, the shift cipher, Caesar's code or Caesar shift, is one of...
Name Export export const name = 'value' Name Import import { name } from '...' Default Export export default 'value' Default Import import...
Definition Binary Search is a searching algorithm used in a sorted array by repeatedly dividing the search interval in half. The idea of binary search...
Node Class class Node { constructor(data, next) { this.data = data; this.next = next; } } Linked List Initial Setup class LinkedList { ...
- useEffectOnce import { useEffect } from 'react'; export function useEffectOnce(cb) { useEffect(cb, []); } Example import { useEffectOnce } from...
Destructuring Object Default Values const product = { name: 'Mac M1 256GB', price: 1100, description: 'This is a Mac M1 Chip with 256GB SSD', ...