奈伊夫
码龄9年
关注
提问 私信
  • 博客:72,233
    72,233
    总访问量
  • 104
    原创
  • 1,303,476
    排名
  • 4
    粉丝
IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:广东省
  • 加入CSDN时间: 2015-10-20
博客简介:

huangjq36SYSU的博客

查看详细资料
个人成就
  • 获得16次点赞
  • 内容获得3次评论
  • 获得36次收藏
创作历程
  • 2篇
    2017年
  • 3篇
    2016年
  • 100篇
    2015年
成就勋章
TA的专栏
  • sicily
    97篇
  • javascript
    5篇
兴趣领域 设置
  • 前端
    前端框架
创作活动更多

AI大模型如何赋能电商行业,引领变革?

如何使用AI技术实现购物推荐、会员分类、商品定价等方面的创新应用?如何运用AI技术提高电商平台的销售效率和用户体验呢?欢迎分享您的看法

186人参与 去创作
  • 最近
  • 文章
  • 代码仓
  • 资源
  • 问答
  • 帖子
  • 视频
  • 课程
  • 关注/订阅/互动
  • 收藏
搜TA的内容
搜索 取消

关于add(2)(3)(4)的记录

最近在读汤姆大叔的系列博文,看到这样一道题,记录下解题过程    题目:实现如下语法的功能:var a = add(2)(3)(4); //9    很显然,要通过闭包来保存中间计算的结果,并通过返回函数进行级联操作,这个返回的函数还应该是一个自引用函数。    由于之前在别的地方看到过类似的题目,记得同时要求满足add(2,3)(4)这样的调用,于是做了下处理。Ilet ad
原创
发布博客 2017.09.25 ·
574 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

__proto__和prototype

提到javascript,不得不说到原型链:当在自身找不到某个属性时,则会到上一层原型查找,通过此机制可以实现继承。 1,表面的prototype,隐藏的__proto__先看简单的原型链: 这里的a自身没有定义toString方法,但是通过到Object.prototype(原型链的顶层)上找到toString方法,从而正确的输出了。那a是通过哪个属性追查到Object....
原创
发布博客 2017.05.06 ·
621 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

js里面的Timer

一、Timer在js里面提供了两个用来定时执行代码的函数:setTimeout和setInerval,统称为Timer. 二、初级印象setTimeout( func|string, time )在一定时间后执行代码setInterval( func|string, time)每隔一段时间后执行代码 三,参数解析(一)、func | string1,这两个计时器
翻译
发布博客 2016.04.26 ·
4081 阅读 ·
1 点赞 ·
0 评论 ·
4 收藏

js的函数作用域跟块级作用域

一,js中的作用域    js中除了全局作用域,还有函数作用域。    嗯,还有块级作用域。二,函数作用域跟块级作用域的区别    当将代码看成一个IIFE时,全局作用域其实就是一个函数作用域。    那么函数作用域跟块级作用域的区别是什么呢?          函数作用域:变量在定义的函数内及嵌套的子函数内处处可见;          块级函数域:变量在离开定义的块级
原创
发布博客 2016.04.07 ·
9966 阅读 ·
13 点赞 ·
3 评论 ·
22 收藏

初识commonjs

一,为什么要用commonjs      在大型项目中,需要根据需求和功能将程序划分为不同的模块。第一有利于多人开发,提高开发效率;第二提高了模块的复用率,清晰明确的框架也能提高程序的可维护性和健壮性。       但是多人开发也会带来一些问题。      依赖问题:             不同的模块之间可能存在依赖问题,如果需要手动指定其加载次序,不仅浪费人力物力,也不利于修改
原创
发布博客 2016.04.05 ·
4441 阅读 ·
0 点赞 ·
0 评论 ·
9 收藏

sicily 1205. brainf*ck

1205. brainf*ckConstraintsTime Limit: 1 secs, Memory Limit: 32 MB Descriptionbrainf*ck is the ungodly creation of Urban Mller, whose goal was apparently to create a Turing-complete language
原创
发布博客 2015.11.27 ·
503 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

sicily 1202. The Bank of Kalii

1202. The Bank of KaliiConstraintsTime Limit: 1 secs, Memory Limit: 32 MB DescriptionCustomers of the Bank of Kalii handle their banking transactions similar to the way they handle their tax
原创
发布博客 2015.11.26 ·
1243 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

sicily 1187. Laserbox

1187. LaserboxConstraintsTime Limit: 1 secs, Memory Limit: 32 MB DescriptionA laserbox is a game involving some optical equipment. The game board is a square n×n grid. On each grid point,
原创
发布博客 2015.11.25 ·
579 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

归并排序查找逆序对

DescriptionLet A(1), ..., A(n) be a sequence of n numbers. If iA(j), then the pair (i,j) is called an inversion pair.The inversion number of a sequence is one common measure of its sortedness.
原创
发布博客 2015.11.23 ·
684 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

sicily 1210. 二叉树

1210. 二叉树ConstraintsTime Limit: 1 secs, Memory Limit: 32 MB Description在众多的数据结构中,二叉树是一种特殊而重要的结构,有着广泛的应用。二叉树或者是一个结点,或者有且仅有一个结点为二叉树的根,其余结点被分成两个互不相交的子集,一个作为左子集,另一个作为右子集,每个子集又是一个二叉树。遍历一棵二叉树就
原创
发布博客 2015.11.22 ·
1272 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

sicily 1132. ROUTES

1132. ROUTESConstraintsTime Limit: 10 secs, Memory Limit: 32 MB DescriptionThe Truckee Freight Company has a network consisting of a number ofterminal stations and transfer stations. ¨  
原创
发布博客 2015.11.22 ·
377 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

sicily 1308. Dependencies among J

1308. Dependencies among JConstraintsTime Limit: 1 secs, Memory Limit: 32 MB DescriptionAs everybody knows, our staffs need to do a lot of jobs to prepare for GDCPC’2003 (ZSUCPC’2003). But
原创
发布博客 2015.11.20 ·
406 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

sicily 1321. Robot

1321. RobotConstraintsTime Limit: 1 secs, Memory Limit: 32 MB DescriptionKarell Incorporated has designed a new exploration robot that has the ability to explore new terrains, this new robot
原创
发布博客 2015.11.19 ·
1045 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

sicily 1190. Reduced ID Numbers

1190. Reduced ID NumbersConstraintsTime Limit: 2 secs, Memory Limit: 32 MB DescriptionT. Chur teaches various groups of students at university U. Every U-student has a unique Student Identif
原创
发布博客 2015.11.19 ·
399 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

sicily 1239. Smallest Differencev

1239. Smallest DifferencevConstraintsTime Limit: 1 secs, Memory Limit: 32 MB DescriptionGiven a number of distinct decimal digits, you can form one integer by choosing a non-empty subset of
原创
发布博客 2015.11.19 ·
411 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

sicily 1047. Super Snooker

1047. Super SnookerConstraintsTime Limit: 1 secs, Memory Limit: 32 MB DescriptionOn one of my many interplanetary travels I landed on a beautiful little planet called Crucible. It was inhabi
原创
发布博客 2015.11.19 ·
533 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

sicily 2501. 算算式

2501. 算算式ConstraintsTime Limit: 1 secs, Memory Limit: 256 MB Description_gXX遇到一个麻烦的式子:S = n1 + n2 + n3 + ...... + nk,已知n、k,求S的值。因为_gXX数学很差,希望你能告诉他答案。但是由于他的数学实在太差了,所以你只需要告诉他S除以9901的余数即可
原创
发布博客 2015.11.19 ·
450 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

sicily 1059. Exocenter of a Trian

1059. Exocenter of a TrianConstraintsTime Limit: 1 secs, Memory Limit: 32 MB DescriptionGiven a triangle ABC, the Extriangles of ABC are constructed as follows:On each side of ABC, constru
原创
发布博客 2015.11.19 ·
410 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

sicily 1231. The Embarrassed Cryptography

1231. The Embarrassed CryptographyConstraintsTime Limit: 2 secs, Memory Limit: 32 MB DescriptionThe young and very promising cryptographer Odd Even has implemented the security module of a l
原创
发布博客 2015.11.19 ·
344 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

sicily 1381. a*b

1381. a*bConstraintsTime Limit: 1 secs, Memory Limit: 32 MB DescriptionGive two positive integers a and b, please help us calculate a*b.InputThe first line of the input is a positive i
原创
发布博客 2015.11.18 ·
668 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏
加载更多