millablogcomment's People
millablogcomment's Issues
对Sort()函数的理解(函数引用带括号与不带括号的区别) | Milla
1.sort() 函数用于对原列表进行排序,如果指定参数,则使用比较函数指定的比较函数 2.语法 list.sort(key=None, reverse=False) 3.参数 key – 主要是用来进行比较的元素,只有一个参数,具体的函数的参数就是取自于可迭代对象中,指定可迭代对象中的一个元素来进行排序。 <理解:表述元素的权重,如果函数中指定了key,那么就按照key指定的函数list中
CSS | Milla
https://millacheung.github.io/2019/06/15/CSS/
- CSS 简介1.1. HTML的局限性HTML 只关注内容的语义。 1.2. CSS-网页的美容师CSS 是层叠样式表(Cascading Style Sheets)的简称 也称为 CSS 样式表 或 级联样式表 CSS 也是一种 标记语言 CSS 主要用于设置 HTML 页面中的文本内容(字体、大小、对齐方式等)、图片的外形(宽高、边框样式、边距等)以及 版面的布局和外观显示样式 CSS
JS对象操作属性的两种方式 | Milla
在 JS 对象中,调用属性一般有两种方法——点和中括号的方法。1.使用点方法 12345var obj = { name: "cedric"}console.log(obj.name); // cedric 2.使用 [ ] 方法 12345var obj = { name: "cedric"}console.log(obj["name"]);
JS对象操作属性的两种方式 | Milla
在 JS 对象中,调用属性一般有两种方法——点和中括号的方法。1.使用点方法 12345var obj = { name: "cedric"}console.log(obj.name); // cedric 2.使用 [ ] 方法 12345var obj = { name: "cedric"}console.log(obj["name"]);
JS的短路运算符 | Milla
https://millacheung.github.io/2019/12/13/JS%E7%9A%84%E7%9F%AD%E8%B7%AF%E8%BF%90%E7%AE%97%E7%AC%A6/
JS的短路运算符在JS函数中我们经常会使用到短路运算符,主要是逻辑与(&&) 和 逻辑或(||)。 1. 逻辑与 && 的运算方式12var a = 3 && 5;console.log(a); //返回的结果为 5 如果逻辑与运算符左边的值布尔转换后为true,那么返回右边的值(不管右边的值是真还是假)。 12345var a = false &
JS的短路运算符 | Milla
https://millacheung.github.io/2019/12/13/JS%E7%9A%84%E7%9F%AD%E8%B7%AF%E8%BF%90%E7%AE%97%E7%AC%A6/
JS的短路运算符在JS函数中我们经常会使用到短路运算符,主要是逻辑与(&&) 和 逻辑或(||)。 1. 逻辑与 && 的运算方式12var a = 3 && 5;console.log(a); //返回的结果为 5 如果逻辑与运算符左边的值布尔转换后为true,那么返回右边的值(不管右边的值是真还是假)。 12345var a = false &
对Sort()函数的理解(函数引用带括号与不带括号的区别) | Milla
1.sort() 函数用于对原列表进行排序,如果指定参数,则使用比较函数指定的比较函数 2.语法 list.sort(key=None, reverse=False) 3.参数 key – 主要是用来进行比较的元素,只有一个参数,具体的函数的参数就是取自于可迭代对象中,指定可迭代对象中的一个元素来进行排序。 <理解:表述元素的权重,如果函数中指定了key,那么就按照key指定的函数list中
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.