API – “let” vs. “var”

  • API – “let” vs. “var”

    Posted by David Bernhardt on May 24, 2026 at 2:52 pm

    I am new to JavaScript, and using it in Bluebeam Complete. Today has been a big day for making progress, but still have a long way to go.

    Looking at other JavaScript tutorials and the Bluebeam API; just noticed that “var” is how the API wants us to define variables, while most other tutorials use “let.”

    Suggest this be emphasized in the API explanation, because I was trying to troubleshoot this for about an hour, before backchecking the API “JavaScript fundamentals” page. Also wonder when the API will catch up and allow use of “let” so that folks who are just learning JavaScript, or cross-training with other implementations, won’t get hung up. Thanks.

    Troy DeGroot replied 3 weeks ago 2 Members · 1 Reply
  • 1 Reply
  • Troy DeGroot

    Organizer
    May 26, 2026 at 3:17 pm
    Points: 29,345
    Rank: UC2 Brainery Advanced Brown Belt II UC2 Brainery Advanced Brown Belt II

    Welcome to the group @dbernhardt58, glad you’re here. JavaScript is not my specialty, but I know there are others in the group who are deep into it. Have you seen any of the recent Behind the Build webinars? There were Into and Advanced JavaScript webinars put on by @lizlarsen @Isaac and @mitchyoungs

    https://uchapter2.com/video-category/behind-the-build/

Log in to reply.