js-is-amazing
JS 学习 📚 JS 设计让人迷惑的地方 (f**k js)
JS 学习 :books: JS 设计让人迷惑的地方 (f**k js)
JS 学习 📚 JS 设计让人迷惑的地方 (f**k js)
当 Boolean 对象用于条件语句的时候(译注:意为直接应用于条件语句),任何不是 undefined 和 null 的对象,包括值为 false 的 Boolean 对象,都会被当做 true 来对待
const test1 = new Boolean(false);
const test2 = new Boolean(undefined);
const test3 = new Boolean(null);
const test4 = new Boolean(0);
if (test1) {
console.log('amazing js'); // 输出 amaxing js
}
if (test2) {
console.log('amazing js'); // 输出 amazing js
}
if (test3) {
console.log('amazing js'); // 输出 amazing js
}
if (test4) {
console.log('amazing js'); // 输出 amaxing js
}
console.log(test1); // => false
console.log(test2); // => false
console.log(test3); // => false
console.log(test4); // => false
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.