The jsabbr.js lightsabbr. XCF file located here.

jsabbr.js:

js, but efficient

Remember the old $(...) of the jQuerian times? Remember the efficiency? Remember the richness? (😆) Well with jsabbr.js, you can have that effeciency, but for more!

the math constants are not defined before you run load_constants(), because things like N_A shouldn't be predefined unless you want it to be.

demo

open up the console to test it.

how to add to your webpage

<!-- dependencies --> 
<script src="https://unpkg.com/mathjs@14.6.0/lib/browser/math.js" id="mathjs"></script>
<!-- import the code -->
<script src="https://d.bwabam.com/static/jsabbr.js"></script>

dbwabam meta technical
blog credits



Copyright © 2025-2025.