This Is The First Line Of Code Written By A United States President

Yesterday, President Obama sat down with a bunch of students who were learning how to code in hopes of learning something about JavaScript himself.

Obama wrote the following line of code: moveFoward(100);

Quartz reports “Obama was playing with a tutorial based on the popular Disney movie Frozen. In his line of code, the President called a function — moveForward -- pre-defined by for the exercise.”’s Hour of Code campaign is part of Computer Science Education week.

You can watch the full video of President Obama learning how to code here:

NOW WATCH: Tech Insider videos

Want to read a more in-depth view on the trends influencing Australian business and the global economy? BI / Research is designed to help executives and industry leaders understand the major challenges and opportunities for industry, technology, strategy and the economy in the future. Sign up for free at