Skip to content

Instantly share code, notes, and snippets.

Avatar
💻
Studying

Gren fed-gren

💻
Studying
View GitHub Profile
@LeoHeo
LeoHeo / var-let-const.md
Last active Aug 6, 2021
javascript var, let, const 차이점
View var-let-const.md

var, let, const 차이점은?

  • varfunction-scoped이고, let, constblock-scoped입니다.

  • function-scopedblock-scoped가 무슨말이냐?

var(function-scoped)

jsfiddle 참고주소

@BonsaiDen
BonsaiDen / tokenize.js
Created Feb 12, 2012
Small, simple, JS tokenizer in JS.
View tokenize.js
/**
* Simple JavaScript tokenizer (not a full parser!!!)
*
* Portions taken from Narcissus by Brendan Eich <brendan@mozilla.org>.
*/
/*jshint evil: true, regexdash: false, regexp: false */
var KEYWORDS = [
'break',