im404.github.io's People
im404.github.io's Issues
Webpack Module | Will
https://im404.github.io/2019/09/05/JavaScript-And-Webpack-Module/#more
模块在[模块编程]中,开发者将程序分解为许多功能块,称之为模块。每个模块都有表面上都小于一个完整程序,使验证、调试、测试不再那么重要。编码良好的模块提供了可靠的抽象以及封装的边界,因此每个模块在整个程序中具有一致的设计和明确的目的。Node.js几乎从它诞生之日起就支持了模块化编程。然后,在web端,对模块的支持却迟迟没有到来。在web方向上许多支持模块化JavaScript的工具都有其优势和局限
理解Node中的module.exports和exports | Will
https://im404.github.io/2019/08/27/Understanding-module-exports-and-exports-in-Node-js/#more
原文链接:Understanding module.exports and exports in Node.js什么是模块一个模块将相关代码封装进一个单独的代码单元。当创建一个模块的时候,这个可以解释为将所有相关方法移动到一个文件中。让我们通过一个用包含在NODE应用中的例子来阐述这个观点。假设我们创建一个名为greetings.js的文件,它包含下面两个方法:
Hello Webpack | Will
https://im404.github.io/2019/09/05/Hello-Webpack/
原文链接:Webpack官方文档概念Webpack的核心是一个现代Javascript应用的静态模块打包器。当Webpack处理你的应用时,它内部会创建一个映射你项目所有模块的依赖关系图(dependency graph),并生成一个或者多个包(bundles). 学习更多关于JavaScript模块和Webpack模块,点这里
理解ES5中的"this" | Will
https://im404.github.io/2019/08/30/Understanding-this-in-ES5/#more
参考文章:阮一峰:JavaScript 的 this 原理 阮一峰的这篇文章已经很简介详细了,所以这里就不再复述。那么我尝试用一句话来描述this指向什么: this默认指向调用这个函数的对象,可以通过其他方式改变this的指向 扩展: this是伴随函数存在的 函数可以用作对象的方法(全局的方法属于全局对象)、构造器,那么this就分别指向了对象以及构造器的实例对象12345678910111
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.