04 2020 档案
摘要:Closures Closures are one of the most powerful features of JavaScript. JavaScript allows for the nesting of functions and grants the inner function fu
阅读全文
摘要:Introduction to Object Oriented Programming in JavaScript As JavaScript is widely used in Web Development, in this article we would explore some of th
阅读全文
摘要:Higher Order Functions A function that accepts and/or returns another function is called a higher order function. It's higher order because instead of
阅读全文
摘要:Sublime Text 3快捷键 Ctrl + Shift + P 打开命令面板 Ctrl + P 搜索项目中的文件 Ctrl + G 跳到第几行 Ctrl + W 关闭当前打开文件 Ctrl + Shift + W 关闭所有打开文件 Ctrl + Shift + V 粘贴并格式化 Ctrl +
阅读全文
摘要:Exercise 01 Max Of Two Numbers Write a function that takes two numbers and returns the maximum of the two Exercise 02 Landscape or Portrait Exercise 0
阅读全文
摘要:How to align the items of the flexible element?
阅读全文
摘要:How to define an area inside an image map? How to specify an alternate text for the area. Required if the href attribute is present? How to specify th
阅读全文
摘要:DecimalToBinary javascript function decimalToBinary(num) { var bin = []; while (num 0) { bin.unshift(num % 2); num = 1; // basically /= 2 without rema
阅读全文
摘要:Exercise 1 Write a JavaScript program to display the current day and time in the following format. Today is : Tuesday. Current time is : 2PM : 21 : 38
阅读全文
摘要:Exercise 01 with Solution Write a JavaScript program to compare two objects to determine if the first one contains equivalent property values to the s
阅读全文