JHJason Hwanginmutalic.hashnode.dev·Sep 28, 2022 · 2 min read[Javascript] bind()What does bind() do? It binds a function to an object. It allows you to reference the object using the keyword this. Without bind() Here is an Object literal obj, which holds two properties, and a function printProperties, which prints the values o...00
JHJason Hwanginmutalic.hashnode.dev·Sep 22, 2022 · 3 min read[React] Manage Multiple Form Inputs with Single State VariableReference: John Smilga and freeCodeCamp's Full React Course 2020 When creating an application with few inputs, setting separate state variables for each input field is not an issue, as seen below: import React, { useState } from 'react' const Contro...00