Here are some ideas to get you started:
- 🔭 I’m currently working on ByteDance
- 🌱 I’m currently learning Rust
- 📮 I’m currently writing a news letter FE News
- 🧱 I’m currently contributing on front-end-daily-question
- 📫 How to reach me: wx: pen1005
记录自己每天学了什么的blog
Here are some ideas to get you started:
TODO:
TODO:
#TODO:
其实昨天有刷算法题和学习,忘了建issue
JS 里的 random 函数是使用 MWC1616 伪随机数生成器(PRNG)生成的。
MDN Math.random()
v8实现相关文章
v8引擎的实现
function MathRandom() {
// Mathmul => Math.imul() 该函数将两个参数分别转换为 32 位整数,相乘后返回 32 位结果
// 这个方法能获得
var r0 = (MathImul(18030, rngstate[0] & 0xFFFF) + (rngstate[0] >>> 16)) | 0;
rngstate[0] = r0;
var r1 = (MathImul(36969, rngstate[1] & 0xFFFF) + (rngstate[1] >>> 16)) | 0;
rngstate[1] = r1;
var x = ((r0 << 16) + (r1 & 0xFFFF)) | 0;
// Division by 0x100000000 through multiplication by reciprocal.
return (x < 0 ? (x + 0x100000000) : x) * 2.3283064365386962890625e-10;
}
TODO:
1.手写Promise
2.手写async/await
3.手写generate
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.