Closed BawdyInkSlinger closed 1 year ago
@BawdyInkSlinger
- Sugarcube source code does not define
Math.trunc
anywhere.Math.trunc
is already built in to JavaScript.
There are many common used methods from Standard JavaScript that are also documented within SugarCube's own documentation, like <array>.push()
and <array>.pop()
. :smiley:
Likely to help those new to the whole web-development thing :confused:. Who might not know how to locate the 'official' documentation for such things on MDN, or have yet learnt how to absorb such Software Developer orientated documentation. :neckbeard:
Ah, true. I guess I've been subconsciously glossing over those functions. I've updated my title. Thanks for pointing this out.
Math.easeInOut()
is not documented because it's a legacy static method that only exists for Twine 1.4 compatibility. It's unused by SugarCube.
Sugarcube source code defines
Math.easeInOut
but it's undocumented. Is this intentional?