---
title: "(@lolis) | Hashnode"
description: "share something. Read the latest articles by 　 on Hashnode."
url: "https://hashnode.com/@lolis"
---

@lolis

@lolis · Joined November 2020

share something

### [Object.freeze() vs Object.seal() vs Object.preventExtensions()](https://blog.lolis.top/objectfreeze-vs-objectseal-vs-objectpreventextensions?utm_source=hashnode&utm_medium=feed)

今日详解ES5相关知识，区分下这三者的关系 Object.freeze() 冻结一个对象。这实际上是使对象不可变的最严格的方法。它执行以下操作： 防止添加新属性 不允许删除现有属性 不允许更改的直接属性 可以修改子对象的属 Object.seal() 封闭对象，防止向对象添加新属性。它执行以下操作： 允许更改对象的现有属性 防止添加新属性 不允许删除现有属性 Object.preventExtensions() 防止向对象添加新属性（即防止将来扩展对象）。它执行以下操作： 允许更改...

1 min read · [blog.lolis.top](https://blog.lolis.top/objectfreeze-vs-objectseal-vs-objectpreventextensions?utm_source=hashnode&utm_medium=feed)

[May 7, 2022](https://hashnode.com/posts/objectfreeze-vs-objectseal-vs-objectpreventextensions/627649b2dc122f5a4f21db99)

### [JavaScript ES12](https://blog.lolis.top/javascript-es12?utm_source=hashnode&utm_medium=feed)

1\. 逻辑赋值运算符 逻辑空赋值 (??=) 逻辑与赋值 (&&=) 逻辑或赋值 (||=) let A // 当 A为 undefined 或者 null 时， ??= 赋值 A ??= 12 // 12 let B = 0 // 当 B为 Boolean(B) === false 时， ||= 赋值 B ||= 12 // 12 let C = 12 // 当 C为 Boolean(C) === true 时， &&= 赋值 C &&= 0 // 0 2. String.repla...

2 min read · [blog.lolis.top](https://blog.lolis.top/javascript-es12?utm_source=hashnode&utm_medium=feed)

[Apr 22, 2022](https://hashnode.com/posts/javascript-es12/62621f83d82f4558aff868e2)

### [JavaScript 常见隐式类型转换问题（持续更新](https://blog.lolis.top/javascript?utm_source=hashnode&utm_medium=feed)

运算符 运算符执行优先级 MDN 1.大小比较运算符 1 < 3 < 2 // true // 转化 (1 < 3) < 2 Number((1 < 3)) < 2 1 < 2 // 输出 true 2.取整 parseInt parseInt(string, radix) 解析一个字符串并返回指定基数的十进制整数， radix 是2-36之间的整数，表示被解析字符串的基数。 parseInt(9999999999999999999999) === 1 // 转化 parseInt(...

1 min read · [blog.lolis.top](https://blog.lolis.top/javascript?utm_source=hashnode&utm_medium=feed)

[Apr 8, 2022](https://hashnode.com/posts/javascript/624ff48e75dccb6f3431b865)

### [解决Virmach Vps, 谷歌搜索频繁人机验证问题](https://blog.lolis.top/virmach-vps?utm_source=hashnode&utm_medium=feed)

virmach机器速度还可以，但谷歌搜索的时候频繁出现“reCAPTCHA”人机验证，实在无解.. 查得问题是 virmach大部分是 RN、CC机房 IP段可能处于Google黑名单...、 1. 申请IPV6隧道 virmach并不自带ipv6, 则使用IPv6 隧道。 申请 https://tunnelbroker.net \[一个账号可以申请 5 个隧道\] 注册登陆。 在左侧的 User Functions 中，点击 Create Regular Tunnel. IPv4 E...

1 min read · [blog.lolis.top](https://blog.lolis.top/virmach-vps?utm_source=hashnode&utm_medium=feed)

[Dec 9, 2021](https://hashnode.com/posts/virmach-vps/61b194286a81cf6b31dfb9d0)

### [window powershell 下使用 oh-my-zsh](https://blog.lolis.top/window-powershell-oh-my-zsh?utm_source=hashnode&utm_medium=feed)

下载powershell7 powershell7 download 安装一些特殊字体 # clone git clone https://github.com/powerline/fonts.git --depth=1 # install cd fonts ./install.sh # clean-up a bit cd .. rm -rf fonts 推荐字体库 nerdfonts （用于解决powershell 图标乱码问题） 我使用的是 Hank Nerd Font Mono 安装 ...

1 min read · [blog.lolis.top](https://blog.lolis.top/window-powershell-oh-my-zsh?utm_source=hashnode&utm_medium=feed)

[Nov 21, 2021](https://hashnode.com/posts/window-powershell-oh-my-zsh/619a6b775bb9cc256fc6ae3c)
