Skip to content

Instantly share code, notes, and snippets.

View mattbaker's full-sized avatar

Matt Baker mattbaker

  • New Relic
  • Portland, OR
View GitHub Profile
@mattbaker
mattbaker / st4-elixir-lsp.md
Created May 25, 2021 18:17 — forked from binaryseed/st4-elixir-lsp.md
ST4 + Elixir LSP
// JavaScript variables belong to one of the following scopes: global or local(function).
// Basically, any variable defined outside of a function is a global variable. Variables
// defined inside of a function are scoped narrowly to that function, and any other
// functions defined within the scope of that function (explicit use of the var keyword assumed).
var myName = "john";
var capitalizeMyName = function() {
myName = myName.substring(0).toUpperCase() + myName.slice(1);
var name = myName;