JSFiddle - React, Tailwind, and code Playground

by Artem

HTML

<input type="date" id="inp">

JavaScript

'use strict';

console.log(typeof inp.valueAsNumber, inp.value)