mov-78 / is.js Goto Github PK
View Code? Open in Web Editor NEWMinimalistic predicate library.
Minimalistic predicate library.
is.deepEqual(new Date("2012-12-12T00:30:00.000Z"), new Date("2021-11-11T13:12:00.000Z"))
false
because dates are different (timestamps are 1355272200000 and 1636636320000)
true
"is" version: 1.0.2
node: 6.2.0
There are operations (mostly bit-wise), which convert number to signed (and sometimes unsigned) 32-bit integer.
Math.imul(1e15, 1e16) === -2147483648
1 << 31 === -2147483648
1e11 & -1 === 1215752192
1e10 ^ 3e10 === -1473755136
but there is also unsigned right shift, which converts to 32-bit unsigned int: -1 >>> 0 === 4294967295
.
This is not needed very often, but might be useful.
how can we check is ipv4 or ipv6 address ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.