打赏

相关文章

Section 2.3 Function

What’s function A JavaScript function is a block of code designed to perform a particular task. A JavaScript function is executed when “something” invokes it (calls it). JavaScript Function Syntax: A JavaScript function is defined with the function k…

Section 2.1: Falsy VSTruthy Value and == VS ===

Falsy VS Truthy Value and VS Falsy values: undefined, null, 0, ‘’, NaNTruthy values: Not falsy values var height;if (height) {console.log(Variable is defined);} else {console.log(Variable has NOT been defined);}In this code above, the result is: Vari…

Section 2.7: Object and Methods

Section 2.6 讲解了Object的创建,object的property属性。 这节我们讲 Object 和 Methods的关系。 Object不仅仅可以储存property,同样可以保存methods。而且,只有object可以引入方法。 Very basic method in object. only object has metho…

Section 2.8: CODDING CHALLENGE 3

Let’s remember the first coding challenge where Mark and John compared their BMI. Let’s now implement the same functionality with objects and methods. for each of them, create an object with properties for their full name mass, and height.then, add a me…

Section 2.6: Object and Properties

每个object,都可以储存不同类型的value 格式一般是key:value, 而value可以为number, string, Array, boolean 等等。 var alan {firstName: Alan, //key:valuelastName: Ning,birthYear: 1990,family:[Faye, Aiden, Nison],job: Front-end Developer,i…

JavaScript-Learning(中英文)

JavaScript Leaning Notes 大家好,今天开始,我将会开始分享我学习JavaScript的经验。如有不足,请大神们指教!谢谢 This note is what I learned from “The Complete JavaScript Course 2018: Build Real Projects”. 此次学习笔记是通过学习 “The Complete JavaScript …

零基础学习Python:基础阶段 面向对象编程的理解^^

21面向对象编程的理解 类和实例,属性,方法,封装,继承,多态 类:Person 定义一个人的类 实例:p,p1 具体到某个人就是实例 类方法: 实例方法: 类方法实例可以调用 实例方法,类不可以调用 类的表示方法: class 类名: # 成员属性# 成员方法类的声明必须使用cl…

微信小程序原理与架构设计

微信小程序原理与架构设计 0.目前移动端主流的开发模式:1.0 小程序页面与H5页面的区别2.0 小程序的架构设计2.1 双线程模型2.2 组件系统 3. 小程序的生命周期 0.目前移动端主流的开发模式: Native APP 原生应用 开发一款 APP,如果注重性能&a…

手机版浏览

扫一扫体验

微信公众账号

微信扫一扫加关注

返回
顶部