Once again, I came to a strange city alone, because I was young, I had no choice!


After staying in Xi’an for two years, I finally decided to force myself to resign, attend the wedding of my college roommate, move, travel, find a job and find a house. It seems that if I don’t try something once, I will regret it for a lifetime.
It’s not without worries before starting. I think of a strange city and a strange environment. I don’t know anyone. Whether I can survive is a problem. Finally, on the contrary, I’m still young. Shouldn’t I fight?
I’ve been interviewing recently. Many interviewers will ask the question “are your family or friends here?”, When I said “no”, they were surprised. In fact, they wanted to challenge themselves.
Be brave once, at least once!
If there is no accident, I will start next Monday. I entered the first company I interviewed in Guangzhou. I hope the future will be better and better. The road ahead is unknown. Do my best.

Recommended Today

Summary of import and export usage in JavaScript

import import 和 require 的区别 import 和js的发展历史息息相关,历史上 js没有模块(module)体系,无法将一个大程序拆分成互相依赖的小文件,再用简单的方法拼装起来。这对开发大型工程非常不方便。在 ES6 之前,社区制定了一些模块加载方案,最主要的有 CommonJS 和 AMD 两种。前者用于服务器,后者用于浏览器。ES6 在语言标准的层面上,实现了模块功能,而且实现得相当简单,完全可以取代 CommonJS 和 AMD 规范,成为浏览器和服务器通用的模块解决方案。也就是我们常见的 require 方法。 比如 `let { stat, exists, readFile } = require(‘fs’);` 。ES6 在语言标准的层面上,实现了模块功能。ES6 模块不是对象,而是通过export命令显式指定输出的代码,再通过import命令输入。 import 的几种用法: 1. import defaultName from ‘modules.js’; 2. import { export } from ‘modules’; 3. import { export as ex1 } from […]