<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Eric_freestyle的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/Eric_freestyle</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; Eric_freestyle]]></copyright><item><title><![CDATA[Node.js模拟实现登录注册]]></title><link>https://blog.csdn.net/Eric_freestyle/article/details/111597279</link><guid>https://blog.csdn.net/Eric_freestyle/article/details/111597279</guid><author>Eric_freestyle</author><pubDate>Wed, 23 Dec 2020 20:02:46 +0800</pubDate><description><![CDATA[一：建文件夹，搭建目录
项目开始前先建好文件夹目录，如下图：

强调一点：是什么样的文件类型就放到什么类型的文件夹中，不要搞混，尤其是在项目当中要特别注意！！！
二：写静态页面
1./register注册页面html
&lt;div class="box"&gt;
        &lt;h1&gt;用户注册&lt;/h1&gt;
        &lt;div class="uname"&gt;
            &lt;span&gt;用户名:&lt;/span&gt;&lt;input type]]></description><category></category></item><item><title><![CDATA[函数柯里化介绍及使用]]></title><link>https://blog.csdn.net/Eric_freestyle/article/details/111465305</link><guid>https://blog.csdn.net/Eric_freestyle/article/details/111465305</guid><author>Eric_freestyle</author><pubDate>Mon, 21 Dec 2020 00:25:39 +0800</pubDate><description><![CDATA[一.什么是函数的柯里化
所谓函数的柯里化就是把具有较多参数的函数转换成具有较少参数的函数的过程。简单来说，柯里化就是帮助我们处理某一个函数（含较多参数）
二.实例引出
直接上传一段代码如下：
//以前的方法
function add(a, b, c, d) {
            return a + b + c + d
        }
        console.log(add(1,2,3,4))   //10

//ES6的原始方法
function add(a = 1, b = 2, c,]]></description><category></category></item><item><title><![CDATA[利用Ajax技术完成简易版聊天机器人的制作]]></title><link>https://blog.csdn.net/Eric_freestyle/article/details/110678926</link><guid>https://blog.csdn.net/Eric_freestyle/article/details/110678926</guid><author>Eric_freestyle</author><pubDate>Sun, 06 Dec 2020 21:47:09 +0800</pubDate><description><![CDATA[第一步：创建结构样式
下面先展示结构样式图，后期可以对结构及其样式做进一步的修改优化，现阶段主要是完成这样的一个效果：
上图就是初步的一个结构样式图，我们需要实现的效果就是当用户在输入框输入文字时，按下回车或点击发送，这时文字弹入上面的聊天界面，并自动回复一段文字内容。结构及样式代码如下：
&lt;!DOCTYPE html&gt;
&lt;html lang="en"&gt;

&lt;head&gt;
    &lt;meta charset="UTF-8"&gt;
    &lt;meta name=]]></description><category></category></item><item><title><![CDATA[filter函数的用法]]></title><link>https://blog.csdn.net/Eric_freestyle/article/details/109823429</link><guid>https://blog.csdn.net/Eric_freestyle/article/details/109823429</guid><author>Eric_freestyle</author><pubDate>Thu, 19 Nov 2020 20:47:16 +0800</pubDate><description><![CDATA[filter函数是数组里的一个方法，它主要起到的是过滤作用，返回符合条件表达式的数组，代码如下：
var arr = [1,2,3,45,65,87,456]
        var str = arr.filter(function(v) {
            return v &gt; 45
            
        })
        console.log(str)     --&gt;输出[65,87,456]

这里我们通过给予一个判断，最终从数组里筛选出了符合条件的元素]]></description><category></category></item><item><title><![CDATA[清除浮动的解决方法]]></title><link>https://blog.csdn.net/Eric_freestyle/article/details/109531458</link><guid>https://blog.csdn.net/Eric_freestyle/article/details/109531458</guid><author>Eric_freestyle</author><pubDate>Sat, 07 Nov 2020 16:16:00 +0800</pubDate><description><![CDATA[1.给父盒子设置一个高度

]]></description><category></category></item><item><title><![CDATA[JS中数组遍历方法foreach,filter,some,every,map方法介绍与总结]]></title><link>https://blog.csdn.net/Eric_freestyle/article/details/109518649</link><guid>https://blog.csdn.net/Eric_freestyle/article/details/109518649</guid><author>Eric_freestyle</author><pubDate>Thu, 05 Nov 2020 20:18:48 +0800</pubDate><description><![CDATA[利用js可以实现对数组中各个元素的遍历，我们已知的数组遍历的方法有很多，这里只总结了一部分比较常用的方法供大家参考，其他有遗漏的方法以及详细的步骤可以去翻阅官方文档去查询：
1.forEach遍历
缺点：不能使用 break 语句来跳出循环，也不能使用 return 语句来从闭包函数中返回。
代码如下：
 var arr = [1, 2, 3, 4, 5, 6]
     arr.forEach(function(item,index,arr){
            console.log(item);]]></description><category></category></item><item><title><![CDATA[如何在码云上创建仓库并利用git命令上传项目文件至仓库实现远程版本库控制]]></title><link>https://blog.csdn.net/Eric_freestyle/article/details/109498386</link><guid>https://blog.csdn.net/Eric_freestyle/article/details/109498386</guid><author>Eric_freestyle</author><pubDate>Wed, 04 Nov 2020 21:03:59 +0800</pubDate><description><![CDATA[第一步：注册账号
在地址栏搜索https://gitee.com或者直接搜索码云即可进入登陆页面
页面展示如下：
已有账号用户直接登录即可
第二步：创建仓库
账号登陆进来以后，寻找+号会出现一个下拉列表，第一个就是新建仓库，直接点击即可跳转到下一个页面
根据页面提示完成仓库的创建，效果图如下：
这里我选用了.gitignore模板，因此它给我自动生成了一个名为.gitignore的文件，该文件的作用主要是过滤掉我们上传的项目文件夹里不需要的子文件夹，用txt格式打开该文档，输入/+文件夹名即可，读者可自己去]]></description><category></category></item><item><title><![CDATA[利用js实现动态表格搭建及全选反选的功能]]></title><link>https://blog.csdn.net/Eric_freestyle/article/details/109319463</link><guid>https://blog.csdn.net/Eric_freestyle/article/details/109319463</guid><author>Eric_freestyle</author><pubDate>Tue, 27 Oct 2020 20:16:02 +0800</pubDate><description><![CDATA[利用js实现动态表格搭建及全选反选的功能
 &lt;!DOCTYPE html&gt;
&lt;html lang="en"&gt;
&lt;head&gt;
    &lt;meta charset="UTF-8"&gt;
    &lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt;
    &lt;meta http-equiv="X-UA-Compatible" content="ie=edge"&gt]]></description><category></category></item><item><title><![CDATA[offset系列,client系列,scroll系列的含义及区分]]></title><link>https://blog.csdn.net/Eric_freestyle/article/details/109207581</link><guid>https://blog.csdn.net/Eric_freestyle/article/details/109207581</guid><author>Eric_freestyle</author><pubDate>Wed, 21 Oct 2020 20:41:43 +0800</pubDate><description><![CDATA[offset系列,client系列,scroll系列的含义及区分
1.offset系列
offset元素的偏移量主要有offsetLeft,offsetTop,offsetWidth,offsetHeight四种模式
offsetTop: 盒子上边框距离页面顶部的距离
offsetLeft:盒子左边框距离页面左端的距离
offsetWidth:盒子的宽度（包括边框和内外边距）
offsetHeight:盒子的高度（包括边框和内外边距）
如：
    &lt;style&gt;
        * {
   ]]></description><category></category></item><item><title><![CDATA[String对象中易混淆知识点substr,slice,substring,split,splice总结]]></title><link>https://blog.csdn.net/Eric_freestyle/article/details/109058655</link><guid>https://blog.csdn.net/Eric_freestyle/article/details/109058655</guid><author>Eric_freestyle</author><pubDate>Tue, 20 Oct 2020 20:41:14 +0800</pubDate><description><![CDATA[对象中易混淆知识点substr,slice,substring,split,splice总结
最近把在学习当中遇到的一些问题提出来和大家分享一下，希望对大家有一定的帮助。不多说，下面直接上干货，走你！

在String对象中会接触到字符串的一些操作方法，比如常见的字符串拼接，字符串的截取等等，代码如下：

var str1 = ‘liu’;
var str2 = ‘ding’;
// concat(str1,str2,str3…) 拼接字符串
console.log(str1.concat(str2, ‘刘]]></description><category></category></item></channel></rss>