FrontendTips
GitHub ★
Use underscores to represent a number
We can use underscores (
`_`
) to make a long number more readable:
const
num
=
100000000
;
// This is more easy to read
const
num
=
100_000_000
;
Use the wbr tags to represent path
Validate an input value with the pattern attribute