Cheatsheet: Data Structures
    Array / List
    Map / Dict
    Set
    Tuple
    Struct / Data Class
    Stacks
    Other Data Structures
    Collection Conversions
Cheatsheet: Control Flow
Cheatsheet: Class

Polyglot CheatSheet - Functions

Updated: 2022-04-25

Set default value inside function

JavaScript

function foo(params) {
  var settings = params || {};
}