3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Node.jsのインタプリタ内でJSファイルを読み込む

3
Last updated at Posted at 2016-06-03

備忘録

単にインタプリタ内で .load <js file> と入力することで、コンソールに <js file> の中身が全て吐き出されてそのまま実行される

インタプリタ
> .load <js file>
> console.log("hello, world!"); // こいつが<js file>の内容
hello, world!
undefined
> 
3
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?