Skip to content

Tag: javascript

Compiling Latex with Javascript

I am working on a webapp(written with react-js) that generates a Latex code which contains information to give to the user. My goal is to let the user download the PDF file directly from my application. I first tried using this library: texlive.js, that seemed to work but really it’s impossible to recom…

Java 8 lambda (from javascript example)

I’m learning java from javascript background, and I wonder is it possible to write similar function in Java. Here is an example in javascript: Where getPrice1 and getPrice2 are previously defined functions. Use of calbacks here helps to keep code short. Im not sure is it possible in Java to pass functio…