Giter Site home page Giter Site logo

practical-javascript's Introduction

Hi 👋, I'm Howie Zhou

A passionate full stack software engineer

  • 🔭 Actively seeking Software Engineer Internships

  • 💻 I'm proficient in Web Infrastructure and DevOps

  • 🌱 I’m currently learning Cloud Services and Kubernetes

  • 📝 I regularly write articles on medium

  • 📫 How to reach me [email protected]

Languages and Tools:

javascript typescript html5 css3 sass react nextjs nuxtjs vuejs redux webpack tailwind nodejs express nestjs python mongodb mysql redis aws docker kubernetes jenkins bash linux git postman jest kibana

yeyan1996

 yeyan1996

practical-javascript's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

practical-javascript's Issues

bind实现中 length 属性的问题

bind 方法实现那里length值貌似不对,length值不和原函数保持一致。比如:

function add (a, b, c) {};
var boundAdd = add.bind(null, 1);
console.log(add.length, boundAdd.length) // 3 2

私以为应该改成这样:

Object.defineProperties(boundFunc, {
  length: Object.assign(desc.length, {
      value: desc.length < args.length ? 0 : (desc.length - args.length)
  }),
  name: Object.assign(desc.name, {
      value: `bound ${desc.name.value}`
  })
})

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.