Giter Site home page Giter Site logo

handwriting-js's Introduction

手写js系列

提升基础代码能力(^▽^)

多看手写js系列ヾ(◍°∇°◍)ノ゙

基础篇 - basic

  • 手写apply apply.js
  • 手写call call.js
  • 手写bind bind.js
  • 手写new new.js
  • 手写instanceof instanceof.js
  • 手写object.create object-create.js
  • 手写JavaScript中的继承 inherit.js
  • 实现promise promise.js

算法类 - algorithm

  • 洗牌算法 disorder.js
  • 斐波那契数列 fibonacci.js
  • 实现五种排序 sort.js

函数式编程类 - lambda

  • 柯里化函数 currying.js

工具方法 utils

  • 节流 debounce.js
  • 防抖 throttle.js
  • 实现sleep函数 sleep.js
  • 实现jsonp jsonp.js
  • 实现限定数量的并发请求 sendRequest.js
  • 实现深浅拷贝 copy.js

设计模式相关 - design-pattern

  • 实现EventEmitter simpleEventEmitter.js
  • 实现单例模式 singleton.js

TODO

  • 添加单元测试脚本
  • 实现上拉刷新
  • 实现下拉加载
  • 实现图片懒加载
  • 实现去重
  • 实现扁平
  • 实现最值
  • 基于promise的ajax封装

handwriting-js's People

Contributors

dev-orange avatar

Stargazers

 avatar Mr.马 avatar limingxin avatar Jonithan avatar davidycx avatar crstdo avatar starkwang avatar  avatar  avatar Vinko avatar  avatar Qiyuan avatar diandong avatar  avatar  avatar Chen Li avatar frank avatar Jelon avatar bing avatar

Watchers

 avatar

handwriting-js's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.