原创 JavaScript學習,容易混淆的概念,Statement, Declaration, Expression

JavaScript學習,容易混淆的概念,Statement, Declaration, Expression declaration聲明, 比如var expressions表達式,比如a + 1 statement陳述,比如v

原创 初次使用Node.js

初次使用Node.js const http = require('http'); // private 172.16.31.172 // public 47.98.248.15 //const hostname = '127.

原创 JavaScript學習,一些有點繞的地方

!! 和 || !! what-is-the-not-not-operator-in-javascript, ||, 實例如x = x || y Logical_Operators what-does-the-construct-

原创 初次使用PHP的框架Laravel的包管理器Composer

下載 wget https://getcomposer.org/composer.phar 參考 卸載包 remove文檔 看看這個方法 php composer.phar remove vendor/package vendor

原创 初次使用HTTP中的SSL證書和CORS跨域相關內容

工具openssl open as admin, openssl pkcs12 -in client-gm-moba-youngjoygame-com-with-password.pfx -nocerts -out priv

原创 關於process.env_NODE_ENV的來源

關於process.env_NODE_ENV 通常我們會在Vue, webpack或Node.js中看到 process.env_NODE_ENV !== 'production' 拿着到底是什麼? 參考Summary of pr

原创 JavaScript學習,Imports和Exports

JavaScript學習,export和import export, import Exports 定義 The export statement is used when creating JavaScript module

原创 使用WebSockets搭建多人在線聊天室

使用WebSockets搭建多人在線聊天室 配置 需要安裝好node.js環境 安裝package包socket.io 要分別給client客戶端即前端和server服務器即後端設置socket.io 前端設置參考client-a

原创 初次使用vue

遇到的問題 訪問組件之間的數據 vuejs-access-child-components-data-from-parent, access-app-data-from-component, how-to-access-child

原创 JavaScript學習, ES2015中的解構賦值Destructuring assignment

JavaScript學習, ES2015中的解構賦值Destructuring assignment destructuring 解構賦值 MDN - Destructuring assignment 解構賦值語法是一個JavaS