Coder Social home page Coder Social logo

yangxin1994 / js- Goto Github PK

View Code? Open in Web Editor NEW

This project forked from secernosaurus/js-

0.0 0.0 0.0 10 KB

js常用函数 Updated 10 seconds ago js常用函数,包含数据类型判断,数组去重,字符串去重,深拷贝、浅拷贝,reserve的实现,圣杯式继承,找出字符串中第一次只出现一次的字母,找元素的第n级父元素,返回元素的第n个兄弟节点,封装mychildren,解决浏览器的兼容问题,判断元素有没有子元素,我一个元素插入到另一个元素的后面,返回当前的时间(年月日时分秒),获得滚动条的滚动距离,获得视口的尺寸,获取任一元素的任意属性,绑定事件的兼容代码,解绑事件,取消冒泡的兼容代码,检验字符串是否是回文,兼容getElementsByClassName方法,运动函数,弹性运动,封装自己的forEach方法,封装自己的filter方法,数组map方法,数组every方法,数组reduce方法,获取url中的参数,数组排序,遍历Dom树,原生js封装ajax,异步加载script,cookie管理,实现bind()方法,实现call()方法,实现apply()方法,防抖,节流,requestAnimFrame兼容性方法,cancelAnimFrame兼容性方法,jsonp底层方法,获取url上的参数,格式化时间,验证邮箱的正则表达式,函数柯里化,大数相加,单例模式

JavaScript 100.00%

js-'s People

Contributors

secernosaurus avatar

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.