"moveForward(100);" may now be the most famous line of JavaScript in history -- it's what President Barack Obama wrote Monday as he reportedly became the first United States president to write a computer program.

The occasion was intended to mark the first day of 2014's Computer Science Education Week, which provides opportunities for students to learn computer science.

Around 30 middle-school students from Newark, New Jersey and Brooklyn, New York were hosted at the White House for an "Hour of Code."

The president wrote a single line of JavaScript in a tutorial based on Disney's film "Frozen," explained Hadi Partovi, the CEO of Code.org.

The line, "moveForward(100);" moved main character Elsa 100 pixels to draw a square.

"You gotta slow down, 'cause I'm an old man," Obama told a student as she explained the program to him.

Interested parties can try it for themselves here.

The event came with several announcements from the White House, including commitments by more than 60 school districts to provide computer science education for students, steps to increase representation of minorities and women in computer science, and a new Advanced Placement Computer Science course from the College Board.

President Obama has long championed technology, engineering, and science as key points of education for American students.