A string generator.
https://github.com/YujiSODE/stringGenerator
Copyright (c) 2017 Yuji SODE <yuji.sode@gmail.com>
This software is released under the MIT License.
See LICENSE or http://opensource.org/licenses/mit-license.php
stringGenerator.js
This function returns function that loads the Unicode codepoint in decimal, and generates a text of given Unicode characters.
Returned function has two methods as follows:
txt(); it returns a generated text.reset([v]); it resets a generating text; optionally it can reset the text with value v.
var y=stringGen();y.reset();y(65);y.txt(); //"A"y(66);y.txt(); //"AB"y.reset("Hello:"),y.txt(); //"Hello:"y(66),y(67),y(68),y.txt(); //"Hello:BCD"