Skip to content

Files

Latest commit

Apr 18, 2020
4d063c0 · Apr 18, 2020

History

History

jsmodern

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Apr 18, 2020
Oct 31, 2019
Nov 7, 2019
Oct 31, 2019
Nov 7, 2019
Oct 31, 2019
Nov 7, 2019
Oct 31, 2019
Nov 7, 2019
Nov 7, 2019
Oct 31, 2019
Nov 7, 2019
Oct 31, 2019
Nov 7, 2019
Oct 31, 2019
Nov 7, 2019
Nov 1, 2019
Oct 31, 2019
Nov 7, 2019
Oct 31, 2019
Nov 7, 2019
Oct 31, 2019
Nov 7, 2019
Nov 1, 2019
Nov 7, 2019
Oct 31, 2019
Nov 7, 2019
Oct 31, 2019
Nov 7, 2019
Oct 31, 2019
Nov 7, 2019
Oct 31, 2019
Nov 7, 2019
Oct 31, 2019
Nov 7, 2019

jsmodern

An extension to existing JavaScript, influenced by other great languages such as Rust, Dart, Java, Golang, etc.


MIT License

A collections of extensions for JavaScript that borrow some of the useful features from other programming languages.

Table of contents

Usage

// It is recommended to only import those extensions you need instead of everything.
import { extend } from "https://cdn.jsdelivr.net/gh/motss/deno_mod@v0.10.0/jsmodern/extend.ts";
import { sum } from "https://cdn.jsdelivr.net/gh/motss/deno_mod@v0.10.0/jsmodern/array.ts";

extend({ array: [sum] });

const total = [1, 2, 3].sum();

console.log(total === 6); // true

API Reference

License

MIT License © Rong Sen Ng