Steven Prins

Steven Prins

Typescript

25-09-2022 | 111 words | 1 minute reading time
1{
2  "test": "test",
3  "test": 1,
4  "asdfasdf": "asdfasdf"
5}
1const test = true;
1
  test

test

 1interface User {
 2name: string;
 3id: number;
 4}
 5 
 6class UserAccount {
 7name: string;
 8id: number;
 9 
10constructor(name: string, id: number) {
11  this.name = name;
12  this.id = id;
13}
14}
15 
16const user: User = new UserAccount("Murphy", 1);
1<?php
2$test = true
3
4function() {
5  return $test;
6}
7?>