Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
untitled notebook
node v6.17.1
version:
1.0.0
endpoint
share
tweet
const jkt = require("jkt") const Person = jkt` name: String age: Number birthday: Date Hobbies: Array ` const aditya = Person({ name: "Aditya Kresna", age: '26', birthday: '1991-06-18' // ISO 8601 }) console.log(aditya) console.log(aditya.toJSON())
Loading…
no comments
sign in
to comment