UNPKG
fruitstand
Version:
latest (0.0.1)
0.0.1
fruit stand
github.com/classmember/fruitstand
classmember/fruitstand
fruitstand
/
examples
/
nodejs-mongodb-angularjs-web-development
/
ch05
/
buffer_concat.js
5 lines
•
248 B
JavaScript
View Raw
1
2
3
4
5
var
af =
new
Buffer
(
"African Swallow?"
);
var
eu =
new
Buffer
(
"European Swallow?"
);
var
question =
new
Buffer
(
"Air Speed Velocity of an "
);
console
.
log
(
Buffer
.
concat
([question, af]).
toString
());
console
.
log
(
Buffer
.
concat
([question, eu]).
toString
());