随笔分类 - JavaScript学习
依托廖雪峰的在线资源进行学习
短期目标;了解JS的基本语法,框架
中期目标:搭建个人网站
长期目标:深入前端学习, 写一个在线二手交易平台
摘要:Where did we Leave Off? At a cliffhanger! (Actually… doing some magic tricks) Pulling Properties Out of Thin Air! Let's check out this code. → // an e
阅读全文
摘要:A Closer Look Let's check out: global object methods and this The Global Object What's the name of the global object in node (pssst… the answer is rig
阅读全文
摘要:Object-Oriented Programming Describe the following object oriented programming concepts: → inheritance - basing a class off of another class so that i
阅读全文
摘要:Higher Order Functions Greeeaaaat. What's a higher order function, though? → A higher order function is a function that does at least one of the follo
阅读全文
摘要:Abstractions Abstraction is: the process of hiding away necessary, but immaterial details … to allow for a programmer to work more closely with the pr
阅读全文
摘要:A Quick Review on Hoisting What's hoisting? → hoisting is the processing of declarations before any code is executed. what's a declaration? a declarat
阅读全文
摘要:Strings and Arrays First… a quick note. Strings are primitives. They just act like objects when they're called upon to do so const s = "I'm not really
阅读全文
摘要:We've explored numbers, strings, booleans, undefined and functions a bit, but we haven't really talked about objects yet. Objects are essentially: an
阅读全文
摘要:Back to Definitions function - a named sequence of statements that performs a specific task or useful operation parameter - a variable that receives a
阅读全文
摘要:Some Definitions We learned how to produce values from using operators on other values. We created expressions!. expression - a fragment of code that
阅读全文
摘要:Hoisting hoisting is the processing of declarations before any code is executed. What's a declaration though? a declaration is a way of telling the in
阅读全文
摘要:All Types All the Time In this set of slides, we'll take a look at: JavaScript's types Numbers and numeric operators Strings and string operators Bool
阅读全文
摘要:Javascript is a dynamically typed, weakly typed and interpreted high-level programming language. Interesting JavaScript Features We'll go over these i
阅读全文
摘要:JavaScript的许多语法都与Java类似,因此我在这个系列中只会记录一些JS中特有的性质。 0.基本语法: 在语法方面,JS与JAVA一致,都是要求在语句后添加分号。然而JS本身不强求每个语句都要加上分号,浏览器的引擎可以自动添加分号。然而为了避免歧义,最好坚持像JAVA一样添加分号。 1.数
阅读全文