![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JavaScript
Peter Chan
bulala
展开
-
利用node.js实现简单的网页服务器,
const http = require('http')const fs = require('fs')var server = http.createServer((req, res) => { let url = req.url if (url === '/index.html') { res.setHeader('content-type', 'text/html...原创 2018-12-13 14:43:54 · 445 阅读 · 0 评论 -
es5继承
function inherit (target, original) { function f () {} f.prototype = original.prototype target.prototype = new f() target.prototype.constructor = target}原创 2018-12-26 12:05:08 · 116 阅读 · 0 评论 -
QQ音乐player解析
<!DOCTYPE html><!-- saved from url=(0039)http://y.qq.com/m/demo/2017/player.html --><html><head> <meta http-equiv原创 2019-03-08 13:20:55 · 28616 阅读 · 1 评论 -
listen1
const listen1Api = require('../dist/listen1-api');const express = require('express');function search(song_name, platform) { let search = '/search?source=' + platform + '&keywords=' + song_...原创 2019-03-26 10:45:54 · 3344 阅读 · 0 评论